Commit Graph

317 Commits

Author SHA1 Message Date
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
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 3c4500a9bf Only show protection levels of enabled features 2017-03-17 18:27:19 +00:00
stujones11 e69b59e2af Fix alignment of formspec page slots 2017-03-15 19:31:48 +00:00
stujones11 d43d96bb28 Fix typo in cactus helmet description, closes #91 2017-03-15 18:58:27 +00:00
stujones11 7a980a6717 Fix missing sfinv page background images, closes #90 2017-03-12 20:34:54 +00:00
stujones11 fc3fcea4b7 Bump version to 0.4.8 2017-03-12 19:14:32 +00:00
stujones11 b59464de88 Improve skin mod preview support 2017-03-12 18:23:49 +00:00
stujones11 80024fc154 Fix security violation in player_textures mod support 2017-03-12 17:01:04 +00:00
stujones11 d826b53877 Use u_skins preview image as base for armor preview 2017-03-11 21:34:26 +00:00
stujones11 01a3425ec8 Add preview generator and update preview textures 2017-03-11 20:02:55 +00:00
stujones11 616d9398f2 Minor formspec improvements 2017-03-11 19:31:37 +00:00
stujones11 6661ec0b40 Add support for player monoids, resolves #85 2017-03-10 20:33:45 +00:00
stujones11 ca1cf6bfeb Fix inconsistency with cactus boots, closes #89 2017-03-10 18:09:28 +00:00
stujones11 ca79d39688 Armor stand: Improve TNT effects, closes #55 2017-03-08 19:36:30 +00:00
rubenwardy 8b8a554ff7 Add support for sfinv 2017-03-08 17:47:38 +00:00
tenplus1 3df7802439 added new torch fire nodes
added new torch nodes to the fire nodes list.
2017-03-08 17:44:49 +00:00
stujones11 19e297a2e8 Update inventory_plus formspec style 2017-03-03 17:59:31 +00:00
stujones11 190614d47b Fix potential bug with new bone location method 2017-02-24 23:00:03 +00:00
stujones11 37b10d1cee Remove redundant code 2017-02-24 22:45:23 +00:00
stujones11 4b45f85687 Improve bones locating and fallback, fixes #84 2017-02-24 22:32:27 +00:00
Alexander Weber a5b650285b beter smart_inventory integration 2017-02-21 19:07:17 +00:00
stujones11 26212fb3e4 Add new armor textures by @daviddoesminetest 2017-02-19 19:33:10 +00:00
stujones11 4829445d12 Update style of default armor formspec 2017-02-15 19:37:35 +00:00
Alexander Weber 4d3b219e7d add smart_inventory support 2017-02-15 19:06:06 +00:00
stujones11 b88f946929 Bump version to 0.4.7 2017-01-11 19:36:51 +00:00
stujones11 4b70580ce4 Update licensing information 2017-01-08 18:54:24 +00:00
stujones11 65b6d58580 Prevent armor damage when using /killme command 2016-12-07 19:24:00 +00:00
stujones11 98786fd8f7 Add killme command to replace old kill command 2016-11-27 17:18:08 +00:00
stujones11 9105e8403e Merge pull request #62 from paly2/kill_chatcommand_privs
Add "ban" privilege for kill chatcommand
2016-11-27 16:50:03 +00:00
stujones11 6b2e3adc00 Bump version to 0.4.6 2016-11-27 16:22:29 +00:00
stujones11 c9001f9e53 Rebase armor model, armature and UV fixes 2016-11-27 16:11:51 +00:00
James Stevenson 0157ebd683 Try harder to add armor to bones
Previously, if bones were on a slab, or some non-buildable_to but walkable
node, then the armor would fail to find the bones node (which is Y+1,
typically) and the armor would disappear.  This is an attempt to address that.
2016-07-22 10:46:05 -04:00
Pierre-Adrien Langrognet c39f838893 Fix a mistake in the kill chatcommand
Use "param" instead of "name" in "func"
2016-06-17 18:29:43 +02:00
paly2 862deff373 Add "ban" privilege for kill chatcommand 2016-06-17 16:08:50 +02:00
Thomas--S 54ec4b3cef Fix typo 2016-05-11 19:25:59 +02:00
stujones11 d322a0f110 Modify helmet textures, fixes #49 2016-05-01 20:25:46 +01:00
number Zero 9cc2f3db02 Radiation protection support added 2016-05-01 17:09:07 +01:00
stujones11 1aa2b769d7 Rebase armor player model, fixes #54 2016-04-24 21:13:45 +01:00
stujones11 ae33659168 Make cactus leggings inventory image more consistent 2016-04-08 21:35:56 +01:00
stujones11 7408ebcd81 Add support for mod managers 2016-03-25 19:52:00 +00:00
tenplus1 5a112547e6 Added insta-kill ability for tools/commands
Some armor was too powerful that killing yourself to respawn wouldn't work or instant kill tools for admin didn't have effect, so I've added a check so that if the player is dealt with more than -100 damage points it instantly kills them but doesn't damage armor.  Also added /kill command.
2016-02-08 19:05:32 +00:00
proller f17a104ab1 Dont rewrite inventory in creative mode
happens on first press I if no unified inventory installed
2016-02-07 18:46:37 +03:00
stujones11 f83e7e9984 Merge pull request #43 from tenplus1/patch-6
admin helmet lets you breathe underwater
2016-01-28 01:35:46 +08:00
tenplus1 241aa663f1 admin helmet lets you breathe underwater
added armor_water=1 group to admin helmet so players can breathe underwater.
2016-01-25 14:48:23 +00:00
tenplus1 921e1ace24 Add ability to breath underwater
Added functionality for armor to have armor_water=1 in groups so that player can breathe underwater.
2016-01-25 14:47:05 +00:00
stujones11 0ec2dbfb36 Update default fire protection nodes, closes #41 2015-12-19 19:25:43 +00:00
stujones11 7fc991765c Utilize player_on_hpchange callback 2015-12-09 21:03:45 +00:00
stujones11 991d2955e0 Simplify previous commit 2015-12-04 20:37:24 +00:00
stujones11 64ec3dcf93 Allow armor textures to be specified by the tool definition 2015-12-04 18:42:42 +00:00
stujones11 e1caf0ab0c Bump version to 0.4.5 2015-11-15 22:56:53 +00:00
stujones11 a44d1a2530 Add 'listring' support for inventory mods, closes #38 2015-11-15 21:50:27 +00:00
stujones11 16bc6232ca Add support for unified inventory 'ui_full' privilege 2015-11-15 19:18:21 +00:00
Craig Davison 67867e78ec Prevent admin armor from being dropped 2015-10-29 14:19:59 +00:00
stujones11 64f6be4d61 Bugfix: invalid capture index with non-english player names, resolves #39 2015-10-17 19:20:28 +01:00
stujones11 741faf3520 Fix support for crafting modpack 2015-09-09 19:07:31 +01:00
stujones11 1c56ee4bd6 Merge pull request #31 from tenplus1/patch-2
dtime glitches
2015-08-08 18:05:02 +01:00
stujones11 ae7ad422a5 Belated version string update (oopsie) 2015-07-15 20:52:56 +01:00
stujones11 bad1452e87 Register fire-node overrides at start-up 2015-07-15 19:00:16 +01:00
tenplus1 7cefc1a7ba dtime glitches
sometimes dtime isn't registering when armor.update_armor is called and so it never checks for fire resistance on armor meaning cactus is fireproof if ethereal mod is found...  we cant have that :)  replaced dtime with ARMOR_UPDATE_TIME and it works fine :)
2015-07-15 16:57:17 +01:00
stujones11 8f2badeec3 Add support for unified inventory 'lite' mode 2015-07-01 19:21:14 +01:00
stujones11 734e01e847 Only check for fire damage if valid delta time 2015-05-15 18:39:32 +01:00
stujones11 4eabd8512a Only round the drop position for bones (deja vu) 2015-05-06 20:59:22 +01:00
stujones11 14a0eb8cca Fix armor damage when using fire protection (my bad) 2015-05-06 20:06:07 +01:00
tenplus1 306f193db6 Stop dropped armor disappearing into ground
This stops dropped armor disappearing into ground at times...
2015-05-06 18:41:40 +01:00
stujones11 0fc71201b4 Add crystal armor and fire protection by TenPlus1 2015-05-04 17:08:40 +01:00
stujones11 d107708bec Fix Lua escape sequence, resolves #28 2015-05-01 18:06:43 +01:00
leroux raphael ebe159ac2c add support for inventory_enhanced 2015-04-25 18:45:59 +02:00
leroux raphael 91602ed6f2 Add support for wardrobe mod 2015-04-25 14:28:45 +02:00
stujones11 2b0ce6f63e Check node is not nil before indexing 2015-04-17 19:41:15 +01:00
Pilcrow182 d2f32beebb drop armor if no bones node is found 2015-04-16 21:57:07 -05:00
Pilcrow182 dec92749f9 Put aromr drops into a single loop, fix #22 2015-04-14 18:22:22 -05:00
stujones11 9da2395586 More error logging improvements, fix #21 2015-04-02 20:59:45 +01:00
stujones11 6942aa37d2 Drop excess armor items when bones are full 2015-03-21 17:48:09 +00:00
ExeterDad 905fc9fcb0 smaller b3d export 2015-03-18 20:50:54 -04:00
stujones11 b8e5d0adde Fix inverted normal on inner right arm 2015-03-18 18:37:04 +00:00
stujones11 58337c0404 Better skin mod support and more preview bug fixes 2015-03-08 18:29:17 +00:00
stujones11 87af6e0c68 Fix missing preview image when using simple_skins mod 2015-03-08 15:21:37 +00:00
Calinou 6e0fbc8bb2 Optimize textures using OptiPNG 2015-02-22 10:13:06 +01:00
ExeterDad 9c2b9c9b5a Character model improvements. Extruded shields - closes #18 2015-02-21 16:34:49 +00:00
stujones11 b8be801b94 Bump version to 0.4.3 2015-02-20 21:27:47 +00:00
stujones11 679888398f Craft wooden armor from any type of wood [group:wood] 2015-02-20 15:09:30 +00:00
stujones11 c03cefbc87 Don't show admin armor in the creative inventory 2015-02-19 22:11:03 +00:00
stujones11 195d138da5 Use b3d armor model export by ExeterDad 2015-02-19 21:08:24 +00:00
stujones11 dd9c63e4ca Merge pull request #17 from ExeterDad/master
unlinked textures in 3d_amor_character blend file, and created 3d_amor ....
2015-02-19 20:56:26 +00:00
ExeterDad 358e4a2467 unlinked textures in 3d_amor_character blend file, and created 3d_amor .b3d export 2015-02-19 14:59:44 -05:00
stujones11 b17d8ea55a Allow individual armor materials to be disabled via armor.conf 2015-02-19 18:55:58 +00:00
stujones11 e6979e9409 Update model files for newer versions of blender 2015-02-01 16:53:39 +00:00
stujones11 466c5e6957 Add missing 'admin boots' texture 2015-01-24 00:18:20 +00:00
crazyginger72 a9fcbf29fe Added cactus armor and admin armor 2015-01-09 20:16:22 +00:00
stujones11 499d5af310 More error logging enhancements 2015-01-07 21:25:40 +00:00
stujones11 e3c2616328 Improve error logging a little 2015-01-04 21:37:12 +00:00
stujones11 b5db0f1aa6 Remove undeclared variable warnings on start-up 2015-01-04 19:57:55 +00:00
stujones11 ad6c464573 More UV fixes 2014-10-09 18:34:21 +01:00
stujones11 5ab2f73695 Fix UV error on cape 2014-10-08 18:55:01 +01:00
stujones11 e14af35b95 Add compatibilty for caped skins 2014-10-05 19:05:11 +01:00
stujones11 c3d37e83c2 Remove old character model 2014-10-05 19:03:40 +01:00
stujones11 046880a534 Add compatiblity for SmallJoker's u_skins fork 2014-10-02 21:08:18 +01:00
stujones11 c10a606632 Update README.md and fix paste error in crafting_guide.txt 2014-09-28 19:37:16 +01:00
stujones11 4415e2b33b Add support for simple skins by TenPlus1 2014-09-12 18:30:09 +01:00
stujones11 36688c74a8 Add check for nil player inventory 2014-09-11 20:13:16 +01:00
stujones11 672dbe1f54 Expose physics overrides in global armor.def 2014-09-11 20:11:08 +01:00
stujones11 3c98acb9c9 Make ARMOR_DROP default depend on presence of bones mod 2014-08-17 17:07:27 +01:00
stujones11 5075cc48a4 Allow per world configuration overrides 2014-08-17 17:00:52 +01:00
Megaf 0936d6f173 Change gold damage.
Gold is equivalent as bronze now.
2014-06-12 12:06:03 -03:00
Megaf aaf90c2b24 new file: 3d_armor/textures/3d_armor_inv_chestplate_gold.png 2014-06-12 11:56:43 -03:00
Megaf 4420afb8d1 Added gold textures.
new file:   3d_armor/textures/3d_armor_boots_gold.png
	new file:   3d_armor/textures/3d_armor_boots_gold_preview.png
	new file:   3d_armor/textures/3d_armor_chestplate_gold.png
	new file:   3d_armor/textures/3d_armor_chestplate_gold_preview.png
	new file:   3d_armor/textures/3d_armor_helmet_gold.png
	new file:   3d_armor/textures/3d_armor_helmet_gold_preview.png
	new file:   3d_armor/textures/3d_armor_inv_boots_gold.png
	new file:   3d_armor/textures/3d_armor_inv_helmet_gold.png
	new file:   3d_armor/textures/3d_armor_inv_leggings_gold.png
	new file:   3d_armor/textures/3d_armor_leggings_gold.png
	new file:   3d_armor/textures/3d_armor_leggings_gold_preview.png
2014-06-12 11:44:28 -03:00
Megaf 3e9ce303e6 Update crafting_guide.txt
Added gold armor recipes.
2014-06-12 11:34:28 -03:00
Megaf 11887fc73b Added Gold armor 2014-06-12 11:32:58 -03:00
stujones11 85f56f7ba0 Check for valid player inventory 2014-04-21 19:10:24 +01:00
stujones11 eedf913638 Set inventory mod to main page on die player 2014-04-18 00:12:38 +01:00
stujones11 ecfd397d77 Fix error in previous commit 2014-04-15 22:06:47 +01:00
stujones11 b76508397f Only round the drop position when using bones mod 2014-04-15 21:55:23 +01:00
stujones11 9aaba7569c Update config example 2014-04-15 21:52:24 +01:00
stujones11 1886fe6b1a Fix armor wear level being fully restored on item drop 2014-04-14 19:28:23 +01:00
stujones11 19d45efd12 Fix preview not updating when armor is destroyed 2014-04-14 19:25:10 +01:00
stujones11 72b612f081 Update armor.conf.example 2014-04-13 20:26:14 +01:00
stujones11 8a881022e9 Make armor more configurable 2014-04-13 20:17:11 +01:00
stujones11 8457220413 Add support for unified inventory and skins 2014-04-13 17:41:19 +01:00
stujones11 cf2786a818 Add support for bones mod 2014-04-08 22:03:01 +01:00
Brandon 55e2b69a08 change delay back to 0 2013-12-22 19:51:46 -06:00
Brandon a07a00c117 remove unused variable 2013-12-20 23:56:50 -06:00
Brandon 681bf25505 add physics overrides to armor 2013-12-20 23:52:15 -06:00
stujones11 0b3deea513 Improve player model hanlding and update to version 0.4.0 2013-11-12 21:22:52 +00:00
BlockMen cf87528a03 General way to provide read out of armor 2013-09-12 01:29:30 +02:00
BlockMen 9481e548cf Add support for Better HUD mod 2013-09-12 01:08:11 +02:00
stujones11 8f2852c6b3 Rename inventory++ icon 2013-07-06 18:05:10 +01:00
stujones11 956193b49a Re add support for inventory++ by Zeg9 2013-07-04 19:15:38 +01:00
stujones11 d7a87a515b Only load formspec when armor inventory selected 2013-06-26 22:55:55 +01:00
stujones11 61e6052019 Add shields back as a separate mod 2013-06-24 19:06:19 +01:00
stujones11 efea71a63e Version update: 0.3.0 2013-06-22 19:31:57 +01:00
Zeg9 c2dc92ddb5 Add image for inventory++ 2013-06-08 18:30:41 +02:00
stujones11 e7d085183a Fixed broken craft registrations. 2013-04-17 19:57:27 +02:00
stujones11 938fc519ef Fixed tabulation error. 2013-04-14 17:30:57 +01:00
stujones11 a4414820ae Add unified_skins and update for game changes. 2013-04-11 20:56:35 +01:00
stujones11 86856a2a4a Added some missing textures. 2013-04-02 20:37:43 +01:00
stujones11 f6060ebbd7 Updated dependencies. 2013-03-26 21:07:00 +00:00
stujones11 aedff2cc55 Updated 3d_armor files. 2013-03-26 21:02:48 +00:00
stujones11 234d964549 Split into modpack and fixed armor inventory bug. 2013-03-26 20:54:01 +00:00
stujones11 b4cdb676e3 Added chat messages and fix empty armor slot bug. 2013-03-17 19:34:12 +00:00
stujones11 a430ddc587 Corrected directory structure. 2013-03-15 20:37:07 +00:00
stujones11 1c3e960c0c Corrected directory structure. 2013-03-15 20:27:58 +00:00