- This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago by Anonymous.
-
AuthorPosts
-
April 6, 2015 at 11:15 am #5365AnonymousInactive
First off, I’m a huge fan of the game, it”s everything I dreamed of making but didn’t have the time or guts to follow through with. Amazing stuff.
One thing that did annoy me, though, was the micro-management of all the different items, and I found a way that helped me simplify things, by adding in how many items you have and how many are needed when you don’t have them all (especially for things which need 8 rocks or sticks, that’s a lot of management).As you can see, non-consumed items remain unaffected (since there can be only 1), and items not fully available have the numbers indicated.
In interface.js right before line 1069 I added in
if (findItem.length < amountUsed) { outputReq += ‘(‘+findItem.length+’/’+amountUsed+’)’ }I don’t think this is a big enough change to require its own mod, but it’s very player-helpful.
If you don’t feel that it should go into the game, then I’ll just take interface.js, add the line in, and that’ll be my mod.I’m thinking of a clever way to have a ‘crafting table’ item, which would function as a chest only that you could craft items from both your own inventory and the cest itself, for now it’s only speculative.
Thanks for all the hard work, guys! You rock 😉
April 6, 2015 at 11:17 am #5367Vaughn “Drathy” RoykoKeymasterCool! Easy enough, will add to Wayward 2.0 for sure. Thanks!
April 6, 2015 at 12:40 pm #5368AnonymousInactiveHmmm. So far, I’ve managed to create another container (basically a copy-paste of the wooden chest) and managed to build one and set it up.
Now I’m pretty sure that I need to alter the craftTable() function in wayward.js and add in something like:if(game.containerOpened.containerType === "craftingtable"){ craftingTableContainerId=game.containerOpened.id container = envItems[craftingTableContainerId].container for (var craftingTableItem = 0; craftingTableItem < container.items.length; playerInvItem++) { if (container.items[craftingTableItem]) { playerInvContent.push({type: container.items[craftingTableItem].type}); } } }
to ‘fool’ the crafting that the items that are in the craftingTable container should also be used for crafting.
The problem is that I don’t really know what ‘container’ looks like on the inside, and chrome won’t let be debug it because of reasons.
That is to say, I’ve been modding the files on your site up till now, and chrome won’t recognize the files after the change and so I can’t debug. But this is a stupid way to go about it anyway.
Is there an html version for download anywhere? I looked for one, but couldn’t find it…April 7, 2015 at 7:52 pm #5380Vaughn “Drathy” RoykoKeymasterLooks like you want to do some hardcode modding. I would recommend downloading the download version, then opening the .exe with an archive program to get access to all the files. I believe 7zip extractor will work, somebody else was using it.
April 8, 2015 at 11:29 am #5381AnonymousInactiveWell, I tried downloading all the different versions, but nope. They appear to be actual compiled executables, or at the very least not openable by archivers (I personally tried with 7zip, no such luck).
I tried ‘downloading’ the site itself, no luck there either, error with the jquery of all things.
I need a sort of working html.
Thanks in advance! =) -
AuthorPosts
- You must be logged in to reply to this topic.