1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-27 03:00:38 +01:00
Commit Graph

66 Commits

Author SHA1 Message Date
8d2683b94b fix crash si class on_update() not defined
fix wrong stamina value to hunter
remove old call of function, moved to assign api
2017-04-20 02:22:17 +02:00
LeMagnesium
3035e9660e
[mff_pclasses] Remember to remove hunter bonus
- MFF PClasses : Remove hunter armor bonus upon unassigning
2017-04-20 00:05:26 +02:00
LeMagnesium
8c0a0a5547
[pclasses & mff_pclasses] Misc. fixes
- PClasses : Fix adventurer to not reset stats
 - MFF PClasses : Fix hunter to flush bonus ownership data upon leaving
   the game
2017-04-19 23:57:30 +02:00
LeMagnesium
b0ba6a7956
[pclasses & mff_pclasses] Use implicit on_update
- After executing on_unassigned and on_assigned, implicitly call
   on_update (or add a dummy on_update for assigning if there is none)
2017-04-19 22:05:48 +02:00
ee58c4930f improve pclasses to fix class stats don't change on equip/unequip/destroy armor 2017-04-19 21:51:16 +02:00
LeMagnesium
59c4c8e919
[mff_pclasses & pclasses] Enhance showcasing menus
- Remove the labels introduced last time and use the old line-wrapping
   textareas
 - Add showcase screenshots for the four classes presented
 - Add a little map of the spawn and both available class buildings
 - For #473
2016-09-24 15:14:35 +02:00
LeMagnesium
99655796ff
[pclasses & mff_pclasses] Change info menu
- Change info menu from a textarea to label components
 - Make `textify` public, becoming `pclasses.api.textify`
 - Use textify to create label lines
2016-09-22 21:14:43 +02:00
cdf66589e8 remove useless log(flood) 2016-08-03 14:13:32 +02:00
LeMagnesium
012dfa9428 [pclasses & mff_pclasses] Add some explanations
- For #473
2016-07-14 23:32:42 +02:00
LeMagnesium
1385ad34bb [pclasses] Add information menus (informations not yet written)
- For #473
2016-07-13 20:20:55 +02:00
Quentin BUISSON-DEBON
b874258a05 Compress all images files with Trimage(full part : 13321 files) 2016-03-12 14:34:23 +01:00
Quentin BUISSON-DEBON
7a345768df Compress all iamges files with Trimage 2016-03-11 15:22:09 +01:00
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