209 Commits

Author SHA1 Message Date
Wuzzy
74d71cad2a Fix crash when tool has empty times table 2017-02-11 19:35:39 +01:00
Wuzzy
dfd7cae20f Fix crash with tools with empty digging groups 2017-02-11 12:39:41 +01:00
Wuzzy
84a5f5f8c9 Add rotate_node template text 2017-02-11 02:33:36 +01:00
Wuzzy
284cc37a1f Make mod more stable with weird tool definitions 2017-02-03 02:19:34 +01:00
Wuzzy
dbee1ab2dc Fix crash for tools w/o uses or maxlevel defined 2017-02-03 02:10:10 +01:00
Wuzzy
0a2dac8fbc Remove old FIXME as it is not relevant anymore 2016-12-28 23:01:15 +01:00
Wuzzy
8b6b04c9f0 Fix dig time being “inf” when maxlevel==0 2016-12-28 22:44:21 +01:00
Wuzzy
c7d375b65f Add support for unlimited uses 2016-12-28 19:31:28 +01:00
Wuzzy
ed13ef4903 Add some nil checks for nodes 2016-12-28 18:10:05 +01:00
Wuzzy
1db28fffd4 add_entry/add_category 2016-12-28 15:43:07 +01:00
Wuzzy
fc68266701 Roughly sort misc. tools by durability 2016-12-19 00:13:35 +01:00
Wuzzy
e0c33f6db8 Fix bad comparison of uses and mintime 2016-12-17 13:27:24 +01:00
Wuzzy
233e84438f Take use count into account for tool sort 2016-12-17 01:39:42 +01:00
Wuzzy
11c34326d0 Roughly sort tool entries by tool capabilities 2016-12-17 01:02:38 +01:00
Wuzzy
965dbff515 Differentiate b/w item/tool/node again 2016-12-16 22:29:03 +01:00
Wuzzy
3df6447208 Move redundant core item infos into functions 2016-12-16 22:17:35 +01:00
Wuzzy
3fecd51277 Minor refactoring and new comments 2016-12-16 19:42:05 +01:00
Wuzzy
813b6e7fa3 Automatically add connects_to groups to miscgroups 2016-12-16 17:40:07 +01:00
Wuzzy
7255593e2f Simplify group gathering 2016-12-16 17:05:45 +01:00
Wuzzy
dbdbc54321 Automatically collect all crafting groups 2016-12-16 13:43:40 +01:00
Wuzzy
3edeabd1fd Also check place_failed as sound 2016-12-16 12:51:09 +01:00
Wuzzy
839e484fcc Expose exact light level, simplify light strings 2016-12-16 12:48:56 +01:00
Wuzzy
edf39274c4 Rename “mining level” to “toughness level” 2016-12-15 18:04:16 +01:00
Wuzzy
d16c7d1743 Rename factoid functions 2016-12-15 17:20:46 +01:00
Wuzzy
e4bb77dc56 Fail gracefully if node has invalid sounds 2016-12-14 16:19:07 +01:00
Wuzzy
3871036956 Update translations 2016-12-14 15:53:55 +01:00
Wuzzy
0caac1361c Hide full punch interval if not a weapon 2016-12-14 14:22:53 +01:00
Wuzzy
6338dc6457 Remove unused code 2016-12-14 13:58:21 +01:00
Wuzzy
8024ee0664 Support tools with maxlevel==nil or uses==nil 2016-12-14 13:56:48 +01:00
Wuzzy
8f3dca8e93 Replace “mining capabilities” w/ maxlevel 2016-12-14 13:37:17 +01:00
Wuzzy
24db5de70f Attempt to reasonably display mining times 2016-12-14 13:14:25 +01:00
Wuzzy
682b757734 Move mining durability into toolcaps_to_string 2016-12-13 20:46:07 +01:00
Wuzzy
6927db384b Don't add newlines after empty lines 2016-12-13 14:19:58 +01:00
Wuzzy
664a758e74 Move durability info down 2016-12-13 14:02:18 +01:00
Wuzzy
98b8c7000f Add mining tool durability 2016-12-13 13:59:57 +01:00
Wuzzy
dfe653e178 *_durability and make it more flexible 2016-12-13 12:31:26 +01:00
Wuzzy
4ae274b9e2 Add support to specify tool uses 2016-12-13 02:13:36 +01:00
Wuzzy
c0adef4bd9 Add use factoid type 2016-12-12 23:27:14 +01:00
Wuzzy
3a554c905a Remove newline after itemstring factoid 2016-12-12 23:05:16 +01:00
Wuzzy
88b5ca9599 Avoid double newline for custom factoids 2016-12-12 22:56:15 +01:00
Wuzzy
1b4c684ee4 Add a couple of factoid types 2016-12-12 22:48:43 +01:00
Wuzzy
eb505cbf1e Add more newline2 2016-12-12 22:28:03 +01:00
Wuzzy
a45d72499f Add misc factoid type 2016-12-12 22:26:07 +01:00
Wuzzy
3b14a5d98e Remove old TODO 2016-12-12 22:18:25 +01:00
Wuzzy
c38c530a3a Allow to overwrite entry name of air, ignore, hand 2016-12-12 22:17:08 +01:00
Wuzzy
7b13489543 Update hand hidden support 2016-12-12 21:27:19 +01:00
Wuzzy
e7879bef7d Try to add hidden support to hand 2016-12-12 21:23:01 +01:00
Wuzzy
01d1923740 Allow to suppress hand entry (hopefully) 2016-12-12 21:20:30 +01:00
Wuzzy
7074133a49 Fix hand entry name override 2016-12-12 21:16:05 +01:00
Wuzzy
b5a0c6decf Suppress ignore again 2016-12-12 20:56:48 +01:00