1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 08:10:38 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
ObaniGemini
fb22c66c89 Add u_inv textures missing
Including soundset, pclasses, and 3d_armor.
Also changed the license of soundset button, as it's a new one
2016-02-25 15:26:57 +01:00
LeMagnesium
b4de154668 [pclasses] Reduce verification radii previously overlapping
- Fix #381
2016-01-14 21:08:36 +01:00
e0ce022cac fix only play pclasses sound to player and only if player switch classes 2016-01-03 23:01:40 +01:00
482329bf1d fix pclasse assign now others class on join server, no only the default
fix pclasse assign now if class is same, bug on join server
add on_unassigned for all class
2015-12-24 20:36:17 +01:00
a0f2f09e90 fix typo in shield
update armor_inventory only when switch class
we can not be equipped with reserved armor another class
2015-11-27 00:17:33 +01:00
LeMagnesium
e44dd3e74b [pclasses] Vacuum three times : main, armor and detached
- See #253
2015-11-26 22:27:29 +01:00
LeMagnesium
576d732088 [pclasses] Allow to drop items from the graveyard 2015-11-25 23:21:15 +01:00
LeMagnesium
56422e2607 [pclasses] Create superuser classes
- Create superuser class 'admin'
- Fix #310
2015-10-22 23:16:38 +02:00
LeMagnesium
0091be67ac [action_timers & pclasses] Limit class switch to one per houre
- Create a wrapper for the action_timers
- Limit the use of class switch orbs to one use per hour
- Related to #183
2015-10-16 21:07:58 +02:00
LeMagnesium
facc0f4b5a Flush both graveyards when using chatcommand 2015-08-26 16:12:29 +02:00
LeMagnesium
58b76ff1e5 Add a chatcommand to clear graveyard inventory 2015-08-26 15:29:40 +02:00
LeMagnesium
743507564f Updated pclasses
- Moved the holographic item's name as a field in switch_params (pclasses.api.register_class)
 - Added wizard class' skeleton for later
 - Fixed a few bugs in nodes, inventory and api
 - Splitted tick function to bury items in two
 - Items from 3d_armor's armor inventory are also affected by inventory vacuuming (from tick function).
   The player's static armor inventory is first cleared, then copied to the detached one, then armor updates everything else (rendering, model, etc)
 - Fixed itemname of admin shield to reserve it properly
 - Return graveyard inventory if it already exists. Do not create it every two seconds
2015-08-20 17:18:57 +02:00
LeMagnesium
9ea6923dc1 Improve class switch pedestals
- Related to #183 and #216
 - Holographic items are now removed when you place a new pedestal, or when you destroy it
 - Pedestals are only diggable by admins (but punchable with a tool handling cracky 3 level)
2015-08-18 14:25:54 +02:00
LeMagnesium
2cd80bccf1 Add tile image in class switches' parameters and tweak colors
- Refers to #216
2015-08-17 10:53:13 +02:00
LeMagnesium
fce6396f62 Add class switches to inventory 2015-08-17 02:00:35 +02:00
LeMagnesium
e281845f45 Edit colors of class switches
- Solves #216
2015-08-16 15:28:15 +02:00
LeMagnesium
3b45ad5a31 Restor immortal group for pclasses:item entity (for pedestals)
- Helps for #216
2015-08-15 22:54:01 +02:00
LeMagnesium
6d63e415b1 Added holographic entity and pedestals as switch 'orbs'
- Modified class orb to be pedestals with floating entity above
2015-08-14 17:38:09 +02:00
LeMagnesium
aa2f62afb3 Added automated arbalest to throwing mod
- Chmod-ed all files
 - Removed whitespaces
 - Added automated arbalest in spreadsheet, throwing, and hunters' reserved items
 - Solves #206
2015-08-11 12:02:43 +02:00
LeMagnesium
51e7c037c3 Added grave button texture and reduced lag when vacuuming graves
- Fixed item disappearance when retrieved while reducing amount of tests and drops when vacuuming
 - Added grave button texture
2015-08-02 21:25:31 +02:00
LeMagnesium
1d85364834 Fixed bug when creating and passing detached inventory object 2015-08-02 15:18:12 +02:00
LeMagnesium
f905d48724 Prevent crashes
- Avoid crashing when some variables are oddly nil
2015-08-01 23:55:44 +02:00
LeMagnesium
23f1f6515a Added 'vacuum' feature to manage the items' graveyard
- Added a refresh function to retrieve confiscated items from the items' graveyard
2015-08-01 20:28:12 +02:00
LeMagnesium
55bd0ea800 Static graveyard inventory
- Added graveyard inventory for reserved_items. Next thing to add : mechanism to get them out when shifting class
2015-08-01 19:26:50 +02:00
Wouters Dorian
9e359f7fcd [pclasses] Remove active detection, introduce class switch orbs 2015-07-31 21:48:37 +02:00
Wouters Dorian
949157e087 [pclasses] Don't use globalstep (temporary, until we implement better class-assign logic) 2015-07-31 12:06:47 +02:00
LeMagnesium
6b7b073cd9 Fixed pclasses' reservation system
- Moved callbacks call when setting class
 - Fixed reservation system
2015-07-30 23:37:25 +02:00
LeMagnesium
5ef58d517c Added mithril arrows in hunters' reserved items 2015-07-29 19:52:04 +02:00
LeMagnesium
060b810c52 Removed classes' save system to unlock class determination at reboot 2015-07-28 22:27:02 +02:00
LeMagnesium
a4798a0308 Reduce drop distance of reserved_items 2015-07-28 20:26:04 +02:00
LeMagnesium
3fd2d1bbf4 Get back blackmithril shield
- See #169
2015-07-28 19:01:38 +02:00
LeMagnesium
0f00140d6c Added globalstep to assign classes
- 3d_armor doesn't depend anymore on pclasses (#159)
2015-07-28 18:05:01 +02:00
LeMagnesium
d491015a78 Updated pclasses with admin class
- Moved reserved_items into their class file
 - Added admin class for #139
2015-07-28 16:17:26 +02:00
fbb4c621b1 fix error pclasses 2015-07-27 23:43:31 +02:00
LeMagnesium
f593baf868 Use file:close() instead of file.close() in pclasses 2015-07-27 22:50:48 +02:00
LeMagnesium
f16915f863 Chmod and removal of whitespaces 2015-07-27 21:45:41 +02:00
LeMagnesium
70954a669e Fixed current class determination for reserved items
- Fixed output variables for pairs in pclasses' api.lua
2015-07-27 20:01:54 +02:00
LeMagnesium
0754d7a5aa Reorganized pclasses and tweaked sprint bar
- Tweaked sprint bar in order to change its maximum value according to the one defined for each player
 - Reorganized pclasses into multiple files (api, init, one for each class). Next thing to do : document/simplify api
2015-07-27 19:13:30 +02:00
0abe0a857f fixed missing inventory name 2015-07-27 03:40:36 +02:00
Quentin BUISSON-DEBON
e0bc44a4f7 Add a first completed version of the armor set 'Black Mithril' 2015-07-27 00:11:54 +02:00
LeMagnesium
5316fe983b Added stamina increase for hunters and fixed warriors' one 2015-07-26 17:02:44 +02:00
LeMagnesium
4146c070d0 Added sprint increase and dicrease with warrior class
- WIP
 - Solves part of #113 and #114
2015-07-26 01:05:10 +02:00
LeMagnesium
c80f4e5276 Rewritten the PClasses
- Reorganized index system
2015-07-25 21:57:45 +02:00
LeMagnesium
7fe84434cf Added pclasses' sound and hunter's reserved items
- Solves parts of #113 and #114
2015-07-25 21:02:27 +02:00
LeMagnesium
1913804abd Make all armors respect naming convention 2015-07-25 15:54:26 +02:00
LeMagnesium
fdd5c72289 Fixed 3d_armor's naming convention
- Fixed names. Convention : 3d_armor:<piece>_<material>
2015-07-25 00:13:23 +02:00
873e874563 fixed missing "(" in pclasses 2015-07-21 23:25:00 +02:00
Ombridride
7b09b52b87 Add the black mithril plated armor
to the warrior class
2015-07-21 22:53:30 +02:00
LeMagnesium
ab9a4ca64d Changed postfix for Warrior's armor 2015-07-20 18:28:06 +02:00
LeMagnesium
2461835ea3 Added reserved items system
- Fixed class assignment functions
 - Added reserved items
 - Needed for #114 and #113
2015-07-19 23:20:49 +02:00