{"id":163,"date":"2012-01-28T09:53:56","date_gmt":"2012-01-28T09:53:56","guid":{"rendered":"http:\/\/www.zombox.net\/?p=163"},"modified":"2012-07-04T21:52:12","modified_gmt":"2012-07-04T21:52:12","slug":"collecting-supplies-and-crafting-weapons","status":"publish","type":"post","link":"http:\/\/www.zombox.net\/?p=163","title":{"rendered":"Collecting supplies and crafting weapons&#8230;"},"content":{"rendered":"<p>This week in development I worked on getting the weapon crafting system working, as well as giving the player the ability to collect supplies which can be used to construct walls and doorways. Last week&#8217;s update showed the ability to construct those building elements, but there was no way to actually gather the raw materials necessary for them. Now, every time you destroy an object in the game, there&#8217;s a chance it may drop some useful raw materials that can be picked up.<\/p>\n<p>New weapons can also be crafted now, by combining various pieces together in the crafting window. For example, you can combine a box of nails and a baseball bat to create a nail bat, or a pool cue, some duct tape and a knife to create a lance. Right now there are about ten craftable weapons that I&#8217;ve added to the game, but in the future there will be many more.<\/p>\n<p>Also, the construction mallet shown in last week&#8217;s update has been given two modes: repair and destroy. Using it to repair an object costs money, and in destruction mode it can damage solid objects faster than most other weapon types.<\/p>\n<p>Finally, new particle systems have been implemented, which generate debris every time an object is damaged. The type of particle emitted depends on the substance of the object being hit. A door will emit shards of wood, a wall will emit chunks of concrete, etc.<\/p>\n<p>Here&#8217;s a video demonstrating all of the above features!<\/p>\n<p><iframe loading=\"lazy\" title=\"Zombox Preview 11 - Weapon crafting and more\" width=\"450\" height=\"253\" src=\"https:\/\/www.youtube.com\/embed\/2EpmyxTg7jc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week in development I worked on getting the weapon crafting system working, as well as giving the player the ability to collect supplies which can be used to construct walls and doorways. Last week&#8217;s update showed the ability to construct those building elements, but there was no way to actually gather the raw materials [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/163"}],"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=163"}],"version-history":[{"count":7,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":168,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions\/168"}],"wp:attachment":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}