{"id":412,"date":"2013-07-11T13:43:24","date_gmt":"2013-07-11T20:43:24","guid":{"rendered":"http:\/\/www.innovapain.com\/borg\/?p=412"},"modified":"2013-07-11T15:23:31","modified_gmt":"2013-07-11T22:23:31","slug":"began-work-on-vborg-341","status":"publish","type":"post","link":"http:\/\/www.innovapain.com\/borg\/2013\/07\/11\/began-work-on-vborg-341\/","title":{"rendered":"Began work on VBorg 341"},"content":{"rendered":"<p>With the help of David Barr, I now have a working copy of a Visual Studio solution for Angband 341.\u00a0 I have updated the fairly successful 320 borg into 341.\u00a0 I have been testing it out the past few days and correcting game errors along the way.\u00a0 It might be a few weeks before the 341 is working great, but it is working and only make mistakes related to the game play changes (k&#8217;rushing items no longer works the same, inventory stack sizes limit set to 40 instead of 99).<\/p>\n<ul>\n<li>Update to not destroy our torches or flasks which might leave us dark.\u00a0 Its ok to crush them if we have a no_fuel light source.<\/li>\n<li>Borg is now required to drop items to the floor instead of crushing them.\u00a0 Because he tracks bad items dropped to the floor, he must not drop items while standing on a doorway or stair (since doing so will move the item to an adjacent grid).<\/li>\n<li>Refueling of torches managed.<\/li>\n<li>MAX_STACK_SIZE implemented for borg inventory.<\/li>\n<li>I had to address a specific event which happens early in the game. The borg might have infravision,a torch, and see a monster a few grids away.\u00a0 That monster might be in a unlit region of the dungeon.\u00a0 The borg only sees the monster because of the infravision. The lower half of the LOS() routine would return a FALSE in this case because the grids 2 or 3 spaces away from the borg are not lit by the torch nor dungeon illuminated.\u00a0 If the game is allowing the borg to see the monster, then it must be LOS().<\/li>\n<li>Illuminating room prior to resting acting goofy.\u00a0 He not reading the illuminated grids correctly.<\/li>\n<li>Crushing items needed to be switched to d&#8217;ropping them since the game no long has a k&#8217;rush command.\u00a0 This poses a problem when the borg wants to crush a single item (like 1 arrow in a stack of 35).\u00a0 The k command will squelch the entire stack, but dropping 1 arrows litters the dungeon floor.<\/li>\n<li>Couple of changes to how the borg will use his has_effect and activate_effect command.<\/li>\n<ul>\n<li>Some items need to be ID&#8217;d before he is allowed to know what they do.<\/li>\n<li>\u00a0 make sure item is ID&#8217;d or aware<\/li>\n<li>\u00a0 update the EFF_&lt;list&gt;<\/li>\n<li>\u00a0 &lt;to do&gt;make sure the heal1,2,3 are all used.<\/li>\n<li>\u00a0 &lt;to do&gt;Review that all EFF_s are used, including Restore_Item<\/li>\n<\/ul>\n<\/ul>\n<p><a href=\"http:\/\/www.innovapain.com\/borg\/wp-content\/uploads\/2013\/07\/341borg.zip\">341borg source code<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the help of David Barr, I now have a working copy of a Visual Studio solution for Angband 341.\u00a0 I have updated the fairly successful 320 borg into 341.\u00a0 I have been testing it out the past few days &hellip; <a href=\"http:\/\/www.innovapain.com\/borg\/2013\/07\/11\/began-work-on-vborg-341\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[22],"class_list":["post-412","post","type-post","status-publish","format-standard","hentry","category-vanilla","tag-22"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/comments?post=412"}],"version-history":[{"count":6,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":418,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/412\/revisions\/418"}],"wp:attachment":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}