1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
facc0f4b5a Flush both graveyards when using chatcommand 2015-08-26 16:12:29 +02:00
58b76ff1e5 Add a chatcommand to clear graveyard inventory 2015-08-26 15:29:40 +02:00
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
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
2cd80bccf1 Add tile image in class switches' parameters and tweak colors
- Refers to #216
2015-08-17 10:53:13 +02:00
fce6396f62 Add class switches to inventory 2015-08-17 02:00:35 +02:00
e281845f45 Edit colors of class switches
- Solves #216
2015-08-16 15:28:15 +02:00
3b45ad5a31 Restor immortal group for pclasses:item entity (for pedestals)
- Helps for #216
2015-08-15 22:54:01 +02:00
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
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
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
1d85364834 Fixed bug when creating and passing detached inventory object 2015-08-02 15:18:12 +02:00
f905d48724 Prevent crashes
- Avoid crashing when some variables are oddly nil
2015-08-01 23:55:44 +02:00
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
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
9e359f7fcd [pclasses] Remove active detection, introduce class switch orbs 2015-07-31 21:48:37 +02:00
949157e087 [pclasses] Don't use globalstep (temporary, until we implement better class-assign logic) 2015-07-31 12:06:47 +02:00
6b7b073cd9 Fixed pclasses' reservation system
- Moved callbacks call when setting class
 - Fixed reservation system
2015-07-30 23:37:25 +02:00
5ef58d517c Added mithril arrows in hunters' reserved items 2015-07-29 19:52:04 +02:00
060b810c52 Removed classes' save system to unlock class determination at reboot 2015-07-28 22:27:02 +02:00
a4798a0308 Reduce drop distance of reserved_items 2015-07-28 20:26:04 +02:00
3fd2d1bbf4 Get back blackmithril shield
- See #169
2015-07-28 19:01:38 +02:00
0f00140d6c Added globalstep to assign classes
- 3d_armor doesn't depend anymore on pclasses (#159)
2015-07-28 18:05:01 +02:00
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
f593baf868 Use file:close() instead of file.close() in pclasses 2015-07-27 22:50:48 +02:00
f16915f863 Chmod and removal of whitespaces 2015-07-27 21:45:41 +02:00
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
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
e0bc44a4f7 Add a first completed version of the armor set 'Black Mithril' 2015-07-27 00:11:54 +02:00
5316fe983b Added stamina increase for hunters and fixed warriors' one 2015-07-26 17:02:44 +02:00
4146c070d0 Added sprint increase and dicrease with warrior class
- WIP
 - Solves part of #113 and #114
2015-07-26 01:05:10 +02:00
c80f4e5276 Rewritten the PClasses
- Reorganized index system
2015-07-25 21:57:45 +02:00
7fe84434cf Added pclasses' sound and hunter's reserved items
- Solves parts of #113 and #114
2015-07-25 21:02:27 +02:00
1913804abd Make all armors respect naming convention 2015-07-25 15:54:26 +02:00
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
7b09b52b87 Add the black mithril plated armor
to the warrior class
2015-07-21 22:53:30 +02:00
ab9a4ca64d Changed postfix for Warrior's armor 2015-07-20 18:28:06 +02:00
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
7305bae805 Added hunter class and its shift system
- Needed for #114
2015-07-19 13:20:44 +02:00
0f562cd59e Added class shifting system
- Warrior shifting system implemented
2015-07-18 18:31:24 +02:00
659f012623 Added save system and default class handler to pclasses
- Next thing to do : warrior class
2015-07-17 13:44:11 +02:00
117b25bc36 Added skeleton of pclasses
- This. Is. A. Skeleton. Not finished YET.
2015-07-15 17:08:22 +02:00