Skip to content

Commit

Permalink
Mirror Dungeon Event Fixes
Browse files Browse the repository at this point in the history
Fixed some issues with the code in Mirror Dungeon Events
  • Loading branch information
Maol0ng committed Jan 18, 2025
1 parent 37fec10 commit 44fdbc4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
BUTTON_FORMAT(3, "TAKE PICTURES! SO MANY PICTURES!", M)
BUTTON_FORMAT(4, "PLAY WITH HIM!", M)
BUTTON_FORMAT(5, "ISN'T THIS STILL AN ABNORMALITY?", M)
return
if(2)
AdjustHitPoint(5)
if(3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
return
if(3)
AdjustHitPoint(10)
return
if(4)
AdjustHitPoint(-5)
return
return ..()
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This event was just based on the way some rich people flaunt their wealth as a way of escaping the lonliness that comes from their position.
* -ML
*/
/datum/adventure_event/man_sand
/datum/adventure_event/Man_Sand
name = "All the Sand in the World"
desc = "SAND IS EVERYWHERE"
adventure_cords = list(
Expand All @@ -29,15 +29,17 @@
You simply leave. Behind you it continues to whine, demanding you come back.",
)

/datum/adventure_event/jazz_end/EventChoiceFormat(obj/machinery/M, mob/living/carbon/human/H)
/datum/adventure_event/Man_Sand/EventChoiceFormat(obj/machinery/M, mob/living/carbon/human/H)
switch(cords)
if(1)
BUTTON_FORMAT(2, "HUMOR IT", M)
BUTTON_FORMAT(5, "Leave", M)
BUTTON_FORMAT(5, "LEAVE", M)
return
if(2)
CHANCE_BUTTON_FORMAT(ReturnStat(GLUTT_STAT), "GLUTTONY", M)
CHANCE_BUTTON_FORMAT(ReturnStat(SLOTH_STAT), "SLOTH", M)
. += CoinFlipping(M)
return
if(3)
AdjustStatNum(SLOTH_STAT, ADV_EVENT_STAT_EASY)
if(4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
if(1)
BUTTON_FORMAT(2, "SIGN", M)
BUTTON_FORMAT(3, "DON'T SIGN", M)
return
if(2)
AdjustHitPoint(-100)
return ..()

0 comments on commit 44fdbc4

Please sign in to comment.