Jump to content

Reichwulfe

Member
  • Posts

    2
  • Joined

  • Last visited

Reichwulfe's Achievements

  1. Thank you SOOOO Much Robomat!, Shows what lack of sleep will do. x) I completely didn't even notice I Miss-directed the read for the module! And for Any future reference. to anyone else, make sure camping is lower case c. otherwise it refuses to spawn anything.
  2. Well, I've been toying around with a custom variant of the Too many items mod, posted by Milk. But when it comes to spawning, Tenpegs,TentKits, or tents themselves, the game seemingly ignores the spawn input?. So If someone would be willing to look over the code and tell me what is wrong, it would be greatly appreciated. getCore()getPlayer() --F1 Is For Tools--F2 Is For Building Supplies function AddItem(Character)if isKeyDown(Keyboard.KEY_1) andisKeyDown(Keyboard.KEY_F1) thencharacter:getInventory():AddItem("Base.Hammer");endif isKeyDown(Keyboard.KEY_2) andisKeyDown(Keyboard.KEY_F1) thencharacter:getInventory():AddItem("Base.Screwdriver");endif isKeyDown(Keyboard.KEY_3) andisKeyDown(Keyboard.KEY_F1) thencharacter:getInventory():AddItem("Base.Sledgehammer");endif isKeyDown(Keyboard.KEY_4) andisKeyDown(Keyboard.KEY_F1) thencharacter:getInventory():AddItem("Base.Saw");endif isKeyDown(Keyboard.KEY_1) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.Nails");endif isKeyDown(Keyboard.KEY_2) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.Plank");endif isKeyDown(Keyboard.KEY_3) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.Sheet");endif isKeyDown(Keyboard.KEY_4) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.TentPeg");endif isKeyDown(Keyboard.KEY_5) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.CampingTent");endif isKeyDown(Keyboard.KEY_6) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.CampingTentKit");endif isKeyDown(Keyboard.KEY_7) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.Doorknob");endif isKeyDown(Keyboard.KEY_8) andisKeyDown(Keyboard.KEY_F2) thencharacter:getInventory():AddItem("Base.Hinge");endend
×
×
  • Create New...