by vunderba · 1y ago · 0 comments
Like many other devs I also dipped my feet in the world of interactive fiction. As a kid I was just learning about concepts such as inheritance / OOP / etc. so I went a bit overboard on the ontology.
I remember pretty early on making a rather large mistake in that regard when a friend who was beta-testing the game for me at the time typed in commands like "get key", "get sword", "get ye flask", and then "get Aldwin" to which the game merrily replied "OK" and promptly stuffed an entire human being into the player's inventory.
Weird things happen when you give your MOO players a REPL in LISP land.
Unfortunately, they're immediately hostile so you start attacking them too, and _they_ get near death and summon two comrades each, and so on. It turns into a Sorcerer's Apprentice scenario very quickly.
I managed to bring the MUD to a halt. An archwizard (not Yen Sid) had to instakill the enemies to avoid hitting their "near death" condition and creating more of them.