TG: Added the foundations of a special-day events system. It's a bit more robust,

tidy and efficient than calling isDay everywhere. It defaults to disabled. It
can be enabled by uncommenting ALLOW_HOLIDAYS in config/config.txt

I've added no content just the foundations. All it does is give the station a
holiday themed name and say "Happy [Holiday] Everybody!" at the round-start.

Added a .Set Holiday verb for GM and GA Admins. I'd rather people didn't use it
for now (there's not much point as there's no content yet anyway). It's mainly
for bugtesting.

Foundations are there to create holiday random events and round-start stuff so
we can keep everything together. Check out code/game/gamemodes/events/holidays !

NOTE: This is intended for easter eggs! Little trinkets and such to make these
days special. It IS NOT for spawning grief items and game-changing stuff. If you
REALLY want to add stuff like that, please speak to the project heads. If it's
used for spawning bullshit like poop or grief items I'll just remove my code.
Thanks.

Happy Friday 13th :)

Other Fixes:
Oxygen tanks no longer spam BEEPBEEPBEEPBEEP at everybody nearby. That only
happens for the person holding them.
Revision: r3450
Author: 	 elly1...@rocketmail.com
Date: 	Apr 13, 2012
This commit is contained in:
Ren Erthilo
2012-05-03 03:17:00 +01:00
parent e3229758ef
commit d92495a2b0
13 changed files with 246 additions and 7 deletions

View File

@@ -256,6 +256,7 @@
verbs += /client/proc/toggle_gravity_off
verbs += /client/proc/toggle_random_events
verbs += /client/proc/deadmin_self
verbs += /client/proc/Set_Holiday //Force-set a Holiday
//verbs += /client/proc/cmd_mass_modify_object_variables --Merged with view variables
//verbs += /client/proc/cmd_admin_explosion --Merged with view variables
//verbs += /client/proc/cmd_admin_emp --Merged with view variables
@@ -416,6 +417,7 @@
verbs -= /client/proc/deadmin_self
verbs -= /client/proc/jumptocoord
verbs -= /client/proc/everyone_random
verbs -= /client/proc/Set_Holiday
verbs -= /client/proc/cmd_admin_change_custom_event
verbs -= /client/proc/admin_invis
verbs -= /client/proc/callprocgen