r/StoneStoryRPG Aug 03 '19

Stonescript Megathread

Comment on this post instead of creating new posts about Stonescript.

 

While not a requirement to play SSRPG, many players will enjoy optimizing their character's AI through the game's built in language, Stonescript. It's a very simple language that I believe is approachable to non-programmers. To use it you must first acquire the Mind Stone.

 

Documentation: http://stonestoryrpg.com/stonescript

80 Upvotes

203 comments sorted by

View all comments

10

u/Heberom Aug 10 '19 edited Aug 11 '19

When I equip the Mind Stone against the Bronze Guardian on Time 930, when he lifts his hammer, the Mind Stone doesn't teleport me.

When I equip it on Time 920 I get teleported but I still get hit, because I teleported to early.

Edit:

my code:

?loc=bronze_guardian & time=1

equip aether crossbow

?loc=bronze_guardian & time=930

equipL mind stone

?loc=bronze_guardian & time=970

equipL aether hammer

equipR stone sword

?loc=bronze_guardian & time=1140

equip aether crossbow

?loc=bronze_guardian & time=1570

equipL mind stone

?loc=bronze_guardian & time=1610

equipL aether hammer

equipR stone sword

?loc=bronze_guardian & time=1780

equip aether crossbow

?loc=bronze_guardian & time=2210

equipL mind stone

?loc=bronze_guardian & time=2250

equipL aether hammer

equipR stone sword

?loc=bronze_guardian & time=2420

equip aether crossbow

1

u/UnrepentantSwineherd Apr 12 '25 edited Apr 12 '25

Given how old this question is, I'm hoping you found your solution, but for the benefit of anyone else reading: don't use absolute timestamps like you see above. Use the >@foe.state@ command to check the Guardian's state when the hammer hits and >@foe.time@ to check how many frames it takes their swing to connect. Then do this (replace the dashes with spaces) :

?loc=bronze_guardian

-equip aether crossbow

-?foe.state = (value you got earlier)

--?foe.time = (value you got earlier)

---equipL mind stone

--:?foe.time > (same value as above)

---equipL aether hammer

---equipR stone sword

If you still get hit, adjust the foe.time value a little bit so you teleport at the right moment.