stujones11
793c74856f
Fix nil index in on_damage callback
2017-05-03 17:56:32 +01:00
stujones11
47734969e2
Bump version to 0.4.9
2017-04-28 19:06:38 +01:00
stujones11
1af0bb60f8
Rename on_punch callback to avoid potential conflict with nodes
2017-04-21 18:33:30 +01:00
stujones11
a11b3302e1
Move armor initialization back out of the api
2017-04-19 21:53:13 +01:00
stujones11
664d9fbfef
Increase fleshy level of wood and cactus leggings
2017-04-19 19:42:12 +01:00
stujones11
4dd7e41749
Add damage method and update README.txt
2017-04-19 19:00:00 +01:00
stujones11
df429ee487
Run inventory equip callbacks before set_player_armor
2017-04-16 19:34:09 +01:00
stujones11
7566ecccee
Initialize armor after all on_joinplayer callbacks have run
2017-04-16 16:52:49 +01:00
stujones11
99bc8cf2d3
Reverse order of stack and index in callbacks for consistency
2017-04-15 20:44:05 +01:00
stujones11
a2ec13e28d
Only allow armor items in the armor inventory
2017-04-15 18:00:10 +01:00
stujones11
065815eec1
Include stack index it armor item callbacks
2017-04-15 17:54:39 +01:00
stujones11
b741b7426b
More player validity checks
2017-04-13 20:34:55 +01:00
stujones11
db312b3245
Code styling
2017-04-13 20:11:15 +01:00
stujones11
de2c47f334
More protection from un-initialized player crashes
2017-04-13 19:47:43 +01:00
stujones11
888fbacb49
Prevent potentially bogus warning
2017-04-11 21:26:06 +01:00
stujones11
50453aa5a6
Fix warnings
2017-04-11 20:55:28 +01:00
stujones11
b45fbd0f2a
Log warning if initialization fails and validate armor.def for UI
2017-04-11 20:42:58 +01:00
stujones11
9ffcc19fd7
Improve player initialization and increase default delay
2017-04-11 19:34:06 +01:00
Alexander Weber
6359b0a0ed
bugfix: the count was lost
2017-04-10 18:24:27 +01:00
stujones11
20edce6c55
Better balance of armor weights
2017-04-09 18:49:44 +01:00
stujones11
6e58d1280b
Add minor physics penalties to metal armors
2017-04-09 18:37:55 +01:00
stujones11
20d4728829
Only reciprocate damage of valid tool items
2017-04-09 18:07:53 +01:00
stujones11
7cfd744ff3
Respect flammable group when fire is protection enabled
2017-04-09 17:34:22 +01:00
stujones11
a76a35f177
Fix regression with heal_multiplier config
2017-04-09 16:25:52 +01:00
stujones11
3951c833da
More documentation ammendments
2017-04-09 15:00:48 +01:00
stujones11
e9a2c57826
Correction to example code
2017-04-08 22:32:46 +01:00
stujones11
0ec7858937
Add punch damage groups and effects
2017-04-08 21:32:56 +01:00
stujones11
1e059f2557
Bugfix: recognise boolean false in configuration
2017-04-05 17:51:50 +01:00
stujones11
1fdff7adaa
Make water protection optional, default true
...
This can save a `global_step` regisration if neither fire or water
protection are enabled.
2017-03-31 22:03:59 +01:00
stujones11
23e4d5114f
Add support for intllib
2017-03-31 20:12:20 +01:00
stujones11
4083782246
Improve get_armor_formspec
2017-03-29 19:31:00 +01:00
stujones11
5911447048
Move shields level reduction to shields mod
2017-03-29 19:13:13 +01:00
stujones11
3aac5c98f4
Fix movement and level bugs
2017-03-29 17:44:40 +01:00
stujones11
fe9664589a
Fix potential missing texture bug
2017-03-26 22:46:51 +01:00
stujones11
11ce84873b
Add support for non-fleshy damage groups, closes #47
2017-03-26 20:53:04 +01:00
stujones11
86fd6b0d7d
Fix crash caused by 27a3823eed
2017-03-23 00:59:21 +00:00
stujones11
27a3823eed
Improve error logging, reduce log level to warning
2017-03-22 19:00:48 +00:00
Alexander Weber
f0edb9a710
Inventory compat cleanup
...
fix inventory_plus after cleanup. Create own register_on_player_receive_fields for this inventory
removed smart_inventory (moved to the inventoy mod), adjusted sfinv
moved sfinv to own mod 3d_armor_sfinv
moved unified_inventory to 3d_armor_ui
moved inventory_plus support to own mod 3d_armor_ip
2017-03-21 14:50:17 +00:00
stujones11
75191490c2
Use api call to get player skin
2017-03-19 18:52:51 +00:00
stujones11
f91af02c45
Fix inventory paging bugs caused by previous commit
2017-03-19 18:06:54 +00:00
stujones11
3843578a33
Remove unnecessary code
2017-03-19 17:22:24 +00:00
stujones11
1570efb7ac
Depreciate update_inventory and use on_update callback
2017-03-19 16:10:52 +00:00
stujones11
5517be8ff2
Replace missed global config, fixes #94
2017-03-19 13:28:55 +00:00
stujones11
709535dff0
Only apply valid wardrobe mod skins, fixes #93
2017-03-18 22:14:08 +00:00
stujones11
a1d904c517
Remove redundant code
2017-03-18 22:02:11 +00:00
stujones11
3c2cb16351
Correction to documentation
2017-03-18 20:39:03 +00:00
stujones11
6bf28dc2c5
Only allow one of each armor element in armor slots
...
Required, otherwise equip callbacks may be bogus.
2017-03-18 20:32:11 +00:00
stujones11
75a7181e0f
Add callbacks, closes #46
2017-03-18 20:12:43 +00:00
stujones11
2b840fbe38
Add comment and remove empty lines
2017-03-18 18:04:10 +00:00
stujones11
701215c22f
Depreciate global configs, closes #68
2017-03-18 17:23:50 +00:00