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

21 Commits

Author SHA1 Message Date
LeMagnesium
1385ad34bb [pclasses] Add information menus (informations not yet written)
- For #473
2016-07-13 20:20:55 +02: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
56422e2607 [pclasses] Create superuser classes
- Create superuser class 'admin'
- Fix #310
2015-10-22 23:16:38 +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
2cd80bccf1 Add tile image in class switches' parameters and tweak colors
- Refers to #216
2015-08-17 10:53:13 +02:00
LeMagnesium
e281845f45 Edit colors of class switches
- Solves #216
2015-08-16 15:28:15 +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
a4798a0308 Reduce drop distance of reserved_items 2015-07-28 20:26:04 +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
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