Commit Graph

62 Commits

Author SHA1 Message Date
OgelGames
f3ad7ec6f1 add armor breakage alerts
something I've wanted for a while...
2019-12-28 23:13:41 +11:00
BuckarooBanzay
d2608351f6 extend bone search radius
hopefully fixes https://github.com/pandorabox-io/pandorabox.io/issues/364
2019-12-09 11:04:11 +01:00
Brian Rahardi
2ac90f8d19
drop invalid item instead of erase it 2019-07-16 09:40:28 +07:00
stujones11
3fe7dd2249 Replace deprecated getpos call 2019-03-05 19:40:54 +00:00
Eugen Wesseloh
c96ba7ef34 Cleanup locales (#155)
* use localization function in formspecs

* remove unused translations

* remove F keyword from updatepo tool

* add tool readme
2018-07-26 20:05:50 +01:00
tenplus1
c0d45ceaa1 show fire: value
this fixes the Fire: value in formspec so it shows a number instead of "Fire: armor_fire".
2018-06-18 20:21:58 +01:00
stujones11
6f99803d2d Return invalid items in singleplayer mode 2018-06-02 20:46:44 +01:00
stujones11
f960fc1a41 Only validate armor inventory after user changes 2018-06-02 18:59:32 +01:00
stujones11
1f11a28ad4 More armor callback fixes 2018-05-24 19:06:27 +01:00
stujones11
83f3e01efa Run callbacks based on validated inventory 2018-05-23 20:15:09 +01:00
SmallJoker
7d30bc25a3 Allow replacing similar armor in the same slot 2018-05-22 18:40:24 +01:00
stujones11
21b5c68505 Validate and clean armor inventory before saving 2018-05-19 20:25:27 +01:00
stujones11
21716ffd31 Display correct heal attribute level, fixes #137 2018-05-13 16:52:29 +01:00
micheal65536
59b26b37f9 Fix item duplication vulnerability 2018-02-11 16:12:22 +00:00
fat115
ae448c150c added complete intllib support (i18n)
added french translation
2017-08-08 18:09:27 +01:00
AntumDeluge
cc26d04345 Replace deprecated function 'intllib.Getter':
- Check first for 'intllib.make_gettext_pair', otherwise continue using
function 'intllib.Getter'.
2017-07-09 14:29:11 +01:00
AntumDeluge
38d79b91a1 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
- 'setting_set' with 'settings:set'
2017-06-21 17:48:18 +01:00
Alexander Weber
2150fcea8d return the png suffix in get_player_skin for complete texture definition to support more complex textures
Note the armor.get_player_skin() could be redefined in other mods to privide the more complex textures
2017-06-21 17:47:24 +01:00
stujones11
ea29ec6f6f Register armor after mod compat tests, fixes #106 2017-05-10 20:33:49 +01:00
stujones11
a11b3302e1 Move armor initialization back out of the api 2017-04-19 21:53:13 +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
065815eec1 Include stack index it armor item callbacks 2017-04-15 17:54:39 +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
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
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
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
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
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
stujones11
e46ff3488b Remove kill/me commands 2017-03-17 21:57:13 +00:00
stujones11
f74a52df62 Code re-organisation
This should make it easier to merge features from the now
out-dated development branch.
2017-03-17 20:26:41 +00:00
stujones11
d43d96bb28 Fix typo in cactus helmet description, closes #91 2017-03-15 18:58:27 +00:00
stujones11
ca1cf6bfeb Fix inconsistency with cactus boots, closes #89 2017-03-10 18:09:28 +00:00