Difference between revisions of "Mining tutorial"

Jump to navigation Jump to search
385 bytes added ,  16:40, 4 January 2007
no edit summary
imported>Axle12693
imported>Axle12693
Line 48: Line 48:
   
   
  Begin onactivate
  Begin onactivate
if isactionref player == 1
if player.getitemcount ironore >= 1
set amountofiron to player.getitemcount ironore
player.removeitem ironore amountofiron
player.additem ironbar amountofiron
messagebox "You recieve some iron!"
elseif player.getitemcount ironore < 1
messagebox "You don't have enough iron ore!"
endif
elseif isactionref player == 0
set donothing to 1
endif
end
Anonymous user

Navigation menu