mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
[MIRROR] Completely refactors hallucinations, and also adds a few [MDB IGNORE] (#16348)
* Completely refactors hallucinations, and also adds a few * delete 5 old hallucination types that should have been removed * Fixed old leftover tips conflicts * Fixes all the leftover conflicts and otherwise broken code Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: tastyfish <crazychris32@gmail.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
@@ -229,6 +229,7 @@ GLOBAL_PROTECT(admin_verbs_debug)
|
||||
/client/proc/open_lua_editor,
|
||||
/client/proc/validate_puzzgrids,
|
||||
/client/proc/debug_spell_requirements,
|
||||
/client/proc/debug_hallucination_weighted_list_per_type,
|
||||
)
|
||||
GLOBAL_LIST_INIT(admin_verbs_possess, list(/proc/possess, /proc/release))
|
||||
GLOBAL_PROTECT(admin_verbs_possess)
|
||||
|
||||
@@ -61,7 +61,8 @@
|
||||
var/datum/round_event_control/event = locate(event_to_run_type) in SSevents.control
|
||||
if(!event)
|
||||
return
|
||||
event.admin_setup(usr)
|
||||
if(event.admin_setup(usr) == ADMIN_CANCEL_EVENT)
|
||||
return
|
||||
var/always_announce_chance = 100
|
||||
var/no_announce_chance = 0
|
||||
event.runEvent(announce_chance_override = announce_event ? always_announce_chance : no_announce_chance, admin_forced = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user