Skip to content

Instantly share code, notes, and snippets.

@Goles
Created July 19, 2011 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Goles/1091012 to your computer and use it in GitHub Desktop.
Save Goles/1091012 to your computer and use it in GitHub Desktop.
Schemaless
db.itemTypes
name: Weapon
types: Pierce, Sharp
name: Magic
types: Fire, Ice
db.items
name: "Knife"
Weapon
type: Sharp (db.itemTypes reference)
damage: 2
name: "Piercing Knife of Burn"
Weapon
type: Sharp (db.itemTypes reference)
damage: 2
Magic
type: Fire (db.itemTypes reference)
damage: 4
@Goles
Copy link
Author

Goles commented Jul 19, 2011

(Used lua because of coloring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment