ModernPrimate

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Code to Run in "Run Code" #5220

    Just to get folks started, I picked up a few things you can do with the “Run Code” box from other threads. Just enough to give them the idea…

    Spawn Monsters
    spawnMonster(“chicken”, player.x, player.y+1);

    Heal yourself (doesn’t go past the maximum):
    player.health=999

    Increase your maximum health:
    player.strength=255

    Spawning items in inventory, use this format
    itemGet(“arrow”);
    itemGet({type: “largerock”, quality: “Random”})
    itemGet({type: “largerock”, quality: “Legendary”})

    Some items you can spawn (I believe these all require quality)
    sandstone
    largerock
    log
    branch
    string
    tannedleather
    bone
    wroughtiron
    talcumpowder
    limestonepowder
    carbonpowder

    in reply to: Code to Run in "Run Code" #5219

    It worked! Thanks! Perhaps I was doing something wrong yesterday…

Viewing 2 posts - 1 through 2 (of 2 total)