Refactor and rework the staff of chaos (#23472)

* [WIP] Refactor and rework the staff of chaos

* update lists

* Add trick weapons

* rename damaging effect, more stuff

* add chaos wand

* implement gift spawning, css, disco, wand

* string tweaks, prank toys

* tweaks + bonus soul

* tweak

* add prank revolver

* fix

* tweak

* implement lethal effects + tweaks

* string tweaks

* implement negative effects

* implement remaining effects

* remove leftovers

* non carbon handling

* non-human handling

* wand human check

* clean up

* Balance

* remove test comment

* remove debug chaos items

* add message to dead check

* clean leftovers

* review suggestions

* Update code/modules/projectiles/guns/chaos_bolt.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Apply suggestions from review

* oh and that one too

* Update code/modules/projectiles/guns/projectile/revolver.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* documentation fix

for some reason chaos_bolt has a bunch of changes not in the git

* add css classes

* recompile css, fix food

* recompile tgui

* Apply suggestions from code review

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* invoke async proc ref

* adress code review

* fix conflict

* rename var

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
datlo
2024-02-04 21:32:10 +00:00
committed by GitHub
co-authored by Henri215 Ryan S34N
parent a2a804225c
commit 97f46ffe84
16 changed files with 526 additions and 18 deletions
@@ -180,7 +180,7 @@
. = ..()
wabbajack(change)
/proc/wabbajack(mob/living/M)
/proc/wabbajack(mob/living/M, force_borg = FALSE, force_animal = FALSE)
if(istype(M) && M.stat != DEAD && !M.notransform)
M.notransform = TRUE
M.icon = null
@@ -206,6 +206,10 @@
var/mob/living/new_mob
var/randomize = pick("robot", "slime", "xeno", "human", "animal")
if(force_borg)
randomize = "robot"
if(force_animal)
randomize = "animal"
switch(randomize)
if("robot")
var/path