Bug - Not A Bug deep machine tunnels snowglobe

Pazleysox

Member
In my rollover management script, there's a line that checks for Deep Machine Tunnel free turns. I noticed that it's always telling me I have free turns available, even though I've used my turns. I set out this morning to figure out what the issue is.

$item[Deep Machine Tunnels snowglobe].available_amount() > 0

Seemingly regardless of how this check is done, having the snowglobe available tells mafia that you have free turns in the tunnel...

I've run, and re-run a script with just the DMT check in it, and every time this check is in the script, Mafia tells me I have turns available.

> call scripts\00TEST.ash

You still have free adventures in the Deep Machine Tunnels

> prefref _machineTunnelsAdv

Name Value Default Scope
_machineTunnelsAdv 5 0 user
 

Veracity

Developer
Staff member
_machineTunnelsAdv tells you how many free turns you have spent today in DMT.

If it is 0, you have ( 5 - 0) = 5 free turns left
If it is 5, you have ( 5 - 5) = 0 free turns left

Having a snowglobe has nothing whatsoever to do with whether you've used free turns.
 

Pazleysox

Member
_machineTunnelsAdv tells you how many free turns you have spent today in DMT.

If it is 0, you have ( 5 - 0) = 5 free turns left
If it is 5, you have ( 5 - 5) = 0 free turns left

Having a snowglobe has nothing whatsoever to do with whether you've used free turns.

Gah. :( I assumed having the snowglobe allowed for 5 free adventures. Sorry for the confusion.
 
Top