mob/admin/verb/demo()
if(ingame == 0)
var/turnHandler/game = new
for(var/mob/user in world)
user.loc = locate(3,23,1)
user.ingame = 1
game.addPlayer(user)
game.shuffleQueue()
src << "Info: The turns are as follows...."
for( var/x in game.outputOrdinal() )
world << "\blue [x]"
world << "Info: The game will start within 10 seconds."
sleep( 100 )
world << "Info: The game has started."
while( 1 )
var/mob/player = game.getCurrentPlayer()
if( player.hp == 0 )
game.removePlayer(player)
player.loc = locate(2,2,1)
player.ingame = 1
game.nextTurn()
sleep( 30 )
view() << "[game.getPlayerPos( player )]\th. [player] is up."
if( player.key )
player.turn = 1
view() << "Info: [player] got 20 seconds to act,The turn will end after the time is gone."
sleep( 200 )
view() << "Info: [player]'s turn has ended."
player.turn = 0
game.nextTurn()
sleep( 30 )
but instead of a verb i want to to happen when you go into an area & also i wish for it to only add people who are you party.