{"id":371,"date":"2013-02-08T19:29:20","date_gmt":"2013-02-09T02:29:20","guid":{"rendered":"http:\/\/www.zombox.net\/?p=371"},"modified":"2013-02-08T19:35:19","modified_gmt":"2013-02-09T02:35:19","slug":"stacking-and-shield-switching","status":"publish","type":"post","link":"http:\/\/www.zombox.net\/?p=371","title":{"rendered":"Stacking and shield switching&#8230;"},"content":{"rendered":"<p>So, I made a fairly substantial change to the inventory system in Zombox this week&#8230;<\/p>\n<p>Now you can stack similar items on top of each other! This will allow you to carry many more items (so long as they are within your carrying weight limit &#8212; which I also doubled for each character), and make it a lot easier to quickly craft large numbers of things. Also, single-use items like pipe bombs, molotovs, bear traps, etc, will be easier to carry around in bulk. Each slot has a 99 item limit, which should be more than enough for all of your toting needs. When an item socket contains a stack of items, clicking once will grab the top-most item, and double-clicking will grab the whole stack. This makes it easy to quickly move stacks around.<\/p>\n<p>This new system required a complete rewrite of all the existing inventory UI code, so it&#8217;s what I spent the majority of my Zombox development time this week doing&#8230;but in the meantime I also added another feature: players who are holding a shield in their passive item slot can now manually switch it from front to back (by pressing on the passive item socket). This will give players a strategic advantage in many situations. For example, if you&#8217;re trying to unlock a door but have zombies coming towards you, switching the shield onto your back will give you added protection.<\/p>\n<p>Below are two animation&#8230;one showing how stacking works and the other showing how shield switching works!<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_88.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_88.jpg\" alt=\"\" width=\"480\" height=\"320\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_87.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_87.jpg\" alt=\"\" width=\"480\" height=\"320\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I made a fairly substantial change to the inventory system in Zombox this week&#8230; Now you can stack similar items on top of each other! This will allow you to carry many more items (so long as they are within your carrying weight limit &#8212; which I also doubled for each character), and make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,6,3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/371"}],"collection":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=371"}],"version-history":[{"count":2,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/371\/revisions"}],"predecessor-version":[{"id":373,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/371\/revisions\/373"}],"wp:attachment":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=371"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}