mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[MIRROR] Drowsiness refactor [MDB IGNORE] (#8836)
* Drowsiness refactor (#62104) Creates two procs in /mob/status_procs for handling drowsiness changes (with check for negative values), and refactors all code to use these procs instead of assigning values to the mob's drowsiness themselves. * Drowsiness refactor * Fixing more stuff in our code Co-authored-by: thatoneplebeian <67017991+thatoneplebeian@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
co-authored by
thatoneplebeian
GoldenAlpharex
parent
1fc674a3d8
commit
d5cc576efb
@@ -64,4 +64,4 @@
|
||||
to_chat(C, span_hypnophrase("The light is so pretty..."))
|
||||
C.add_confusion(min(C.get_confusion() + 10, 20))
|
||||
C.dizziness += min(C.dizziness + 10, 20)
|
||||
C.drowsyness += min(C.drowsyness + 10, 20)
|
||||
C.adjust_drowsyness(min(C.drowsyness + 10, 20))
|
||||
|
||||
Reference in New Issue
Block a user