Zefram
2014-05-18 4d20e4473e7207bdb3493cced6df47cda4823a88
refs
author Zefram <zefram@fysh.org>
Sunday, May 18, 2014 22:03 +0200
committer RealBadAngel <maciej.kasatkin@o2.pl>
Saturday, May 24, 2014 00:25 +0200
commit4d20e4473e7207bdb3493cced6df47cda4823a88
tree c702c48d0d5bb10270cf8eb111988adfa0951681 tree | zip | gz
parent 623fcae4a4ad3ec12cc242b29b0d781357cff3f7 view | diff
Stop quarry duplicating items

The quarry was digging via dig_node and also manually putting the node's
drops into the tube system. This assumed that dig_node would attempt
to put the drops in the player's inventory, doing nothing if there is
no such inventory. With the item_drop mod installed, dig_node would
instead turn the node into an item entity, so the quarry's strategy would
duplicate the item, making it appear both as an item entity in situ and
as an item in the tube. Instead, the quarry must use remove_node when
it manually processes the drops, just like the pipeworks node breaker.
1 files modified
13 ■■■■■ changed files
technic/machines/HV/quarry.lua 13 ●●●●● diff | view | raw | blame | history