Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

migrates arcade battle to tgui

Open BrickTheHooman opened this issue 3 weeks ago • 1 comments

What Does This PR Do

migrates the arcade battle arcade game to tgui

Why It's Good For The Game

it looks cool

Images of changes

image image image

Testing

tested playing the game, emagging it, getting all of the possible endings/routes

Declaration

  • [x] I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

:cl: tweak: the arcade battle arcade game is now tgui /:cl:

BrickTheHooman avatar Dec 04 '25 16:12 BrickTheHooman

Okay, I've been thinking about this. I think the best way to avoid redefining the values during Reset() (so there's no duplication / needing to make any changes in both places) is this:

var/previous_event = "Winners Don't Use Spacedrugs" is set to the normal previous_event = "New Round - Make Your Move!" or whatever it ends up being. That winners line never shows up ingame anyway with the current implementation. All values need to be the same as the ones they're Reset() to.

Then you can go

/obj/machinery/computer/arcade/battle/Reset()
	previous_event = initial(previous_event)
	player_hp = initial(player_hp)
	player_max_hp = initial(player_max_hp)
and so on...

poobsie avatar Dec 16 '25 05:12 poobsie