Reply To: EzEdit_by_JamesIII…

Home Forums Wayward EzEdit_by_JamesIII… Reply To: EzEdit_by_JamesIII…


Here you go:

player.strength Controls the total health of the player.

ui.message("Test", "normal", false);
ui.textAbove("Test", 255, 255, 255, false, -25, 0);

ui.message Parameters:
(Message, Message Type (“normal”, “bad”, “good”, etc.), Variables for Message String)

ui.textAbove Parameters:
(Message, Red, Green, Blue, Target (false or “target”), Offset X, Offset Y)

if (player.isItemInInventory("ironsword")) {
//Add code in here, the item was found!

spawnMonster("giantspider", player.x+3, player.y-3);

That would do, 3 spaces to the right from you, and three spaces above.