Gameplay!
September 12th, 2009 3:41 pmI’m in the process of adding in codes you can use in area pages.
First, there’s [[GET:Foo]], which will let the player pick-up an item called ‘Foo’ from that area. The item will only appear there if they do not already own it.
Then there’s [[IFHAVE:Foo|Bar]]. This checks if the player has ‘Foo’ in their inventory. If they do, ‘Bar’ is displayed. Bar can contain formatting, but I think it won’t work if you put anything with ]] inside it. I’ll have a go at changing that.
I’m keeping an up-to-date list of codes and formatting that work here, if anybody wants to start messing around with them!
I think I’ll go to bed soon, so that’s probably it for today. It’s been really fun so far, especially considering how clueless I was to begin with.
Tags: php
oh cool.. I’m glad you’re plowing ahead with inventory logic and conditionals.. nice!