items

The items project is a php project to easily print uniform items for tabletop role playing games with a DM only QR code for storing extra information about the object the players aren't privy to.

The item files are standard php ini format; parsed with textile and poured into a template. This is again the result of a 3 evening coding spree, so the code does what I need it to do but nothing more. There are still some todo's but since its usable to me now, implementing those is no priority!
The default template is very sec, this is intentional and an attempt to optimize for print and should print decently on A4 ; That being said, the whole point in supporting templates is to not force people to use your fugly dev layout ;)

A thought on the DM-Only QR code.
The left QR code contains info that is DM only and should not be read by players. Scanning the code or clicking it in the online version will reveal this info. This is not "secure". Anyone can visit the page and anyone who has a smartphone can decode the code and learn what secret messages or rules you might have hidden there. That includes your players.
This is not a problem for me however. My RPG games are for adults and I expect them not to cheat. They could just scan the code and learn everything about the item but then I could just read them the scenario instead of them having to power through it. Part of the game is all the trouble and the not knowing and as such the QR code is good enough.
The data is on the sheet, sparing me a nightmarish "book of magical items I handed out some day and that might surface again" and the data is sufficiently illegible not to be accidentally read by the player (as would be the problem with many other solutions.) Its not a perfect idea; its just perfect for me :)

Features

  • Overview page
  • Items page
  • New/Edit item page ; not available in test
  • Preview item page ; requires PHP 5.3.0
  • QR codes for page link and DM Only info via the ZXing Generator
  • Output Templates via phphtmltemplate.sourceforge.net
  • Textile support via classTextile.php
  • some cool ToDo items! yes; thats a feature, everybody has time to waste, no? :D

This was of course a quick overview; check the test and the code for more

ToDo

  • page.php: html template in parameters (??) - this enables online custom html layouts
  • page.php: Print skin - specific print optimised code in the templates
  • page.php: Infinitely more templates - because we're all pro choice here
  • page.php: data in database - all data saved in a database instead of files, for public online safety!
  • new/edit page: Show code; have the thing post to the page.php instead - I didnt immediately thing of a real elegant way to do that. While still allowing the save/mail functionality
  • new/edit page: the "Mail page content to .." code

Feel free to drop me a note if you have anything to say & I hope you like the code :)

  • *mouth open in amazement* xbmc just downloaded the subtitles on the fly from some site; who knows WHERE! This is Spectacular software! 20 weeks 3 days ago
  • Very unrealistic dialogue and plot 20 weeks 3 days ago

Site QR Code

Use this code at your own peril; I am not responsible for anything that happens to you or your devices. You re a big boy or girl, please do some research before using it if you have any concerns!