Commit Graph

5 Commits

Author SHA1 Message Date
ACCount12
2169e8638c Makes mining tools use use_tool and have tool_behaviour 2018-02-13 00:09:50 +03:00
ACCount
100c4b6114 Adds new helper: use_tool, shakes things up in tool code (#35095)
* small changes

* Adds a use_tool helper and changes some tools to use it

* Ports most tool operations to use_tool

* Converts more tool operations to use_tool and tool_act

* Changes some things to default_unfasten_wrench

* Improves tool_behavior support in mech construction

* Code review memes

* Fixes all instant use_tool calls failing

* Code improvements

* merge fixes
2018-02-06 11:02:53 +01:00
ACCount
27481363c1 Adds new tool helpers: welder_act and tool_act (#34961)
* Adds new tool helpers: welder_act and tool_act

* New tool flags to make using tool flags as list indexes possible

* Simplifies a return
2018-01-28 14:54:42 -05:00
Leo
6b97ae83a6 Adds a multitool_act and a proper check on tool_check (#32640) 2017-11-12 20:11:49 -05:00
Leo
882603901f Items no longer need to check for tools in attackby, having the check done with the tool_behaviour variable before pre_attackby is called. (#32602) 2017-11-11 21:22:15 +01:00