Created
May 7, 2012 02:59
-
-
Save darkf/2625598 to your computer and use it in GitHub Desktop.
Data-driven rougelike description DSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| merchant Tom | |
| inventory: 3x Pistol Rounds @ $5, 1x SMG Rounds @ $10 | |
| on talk { | |
| say "Hello! Welcome to Tom's Ammunition Supply!" | |
| } | |
| end | |
| enemy Boar | |
| inventory: 1x Boar Meat | |
| on attack { | |
| say "Grr I'm a boar!" | |
| } | |
| end | |
| prop Trashcan | |
| inventory: 1x Used Condom | |
| end | |
| map Map1 | |
| Tom @ (10, 25) | |
| Boar @ (5, 5) | |
| Trashcan @ (10, 10) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment