Commit Graph

15 Commits (474dae21c678a91e43c27f2e142b713952024105)

Author SHA1 Message Date
lethosor 1dc59d3772 Ruby: use core methods for finding selected item and building
Similar to c3d566332, the core methods have become more complicated (and are also checked at compile-time). This will give a more consistent experience across scripts.

Fixes #1563
2020-05-01 22:50:02 -04:00
jj dd739313b1 ruby: tweak item_isfree 2013-04-30 18:38:52 +02:00
jj 76bb5f0196 ruby: items in containers are free 2012-11-26 20:09:56 +01:00
jj 46a24a83fb ruby: fix item_find(:selected) in item details screen 2012-10-10 18:01:57 +02:00
jj fbc2d85609 ruby: rename building_isitemfree to item_isfree, add trader flag check 2012-10-01 11:14:00 +02:00
jj a2bb322344 ruby: item_find now works in z/stocks 2012-09-24 15:40:35 +02:00
jj 57d01f0008 ruby: use ui.follow_item/unit in unit_find, show non-english names by default 2012-09-18 10:17:33 +02:00
jj f560d2de11 ruby: add MapTile class 2012-07-05 14:15:34 +02:00
jj f80ca239d0 ruby: allow coords arguments to *_find, add building_find 2012-07-04 18:34:41 +02:00
jj 7c4f60df1d ruby: extend item_find to work on constructed coffers 2012-07-04 17:48:44 +02:00
jj 15cfc1d00b ruby: handle constructed beds in item_find in LookAround mode 2012-07-04 17:24:46 +02:00
jj cb17bde8f4 ruby: refix codegen for refers-to without key-field, add translate_name 2012-07-04 15:18:36 +02:00
jj 877b879e57 ruby: item_find handle v/i unit inventory 2012-07-03 23:57:15 +02:00
jj 2e42e31754 ruby: add curview, fix item_find/unit_find wrt gview mode, fix refers-to to use binsearch 2012-07-03 19:51:52 +02:00
jj 3f4d2e4792 ruby: split ruby.rb in modules 2012-06-24 17:30:26 +02:00