If you've never used DROD's scripting system before, this is probably quite confusing.
The last monster in the monster list in the editor is one called Character, this is basically a thing that runs scripts.
Place one anywhere in the room and the script editor will appear. Press "
Add Command"
. Then go to "
Set Var"
, and assign a value to the _HP variable, or _Atk, or _Def, etc. The ones without "
My"
in the name refer to the player's stats and inventory, and can be modified in this way at any time. Any Character can just change the stats of the player character at any time.
Any time the player's stats change, text appears over the character's head. If you want to set starting stats, you probably don't want this to appear, so there's another script command called "
Imperative"
that lets you turn on and off these displayed stat changes. So add the "
Hide stat changes"
command before you modify players stats, then add the "
Show stat changes"
command at the end to resume standard behaviour (so you'll still see the numbers when you pick up health potions, etc.)
If this still didn't make a lot of sense, here's some pictures of the above steps:
[Last edited by kieranmillar at 08-15-2020 09:17 PM]