Fandom

Programmer's Wiki

Spellbook

410pages on
this wiki
Add New Page
Talk2 Share

This is a piece of code for a RPG game where spells are learned and forgotten or used

to fireball.learn
print [You learn the spell fireball.]
define fireball.cast [[] [print [you cast fireball]] [print [you forget fireball]] fireball.delete]
end

to fireball.delete
erase [cast.fireball]
end

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.