tree: b77a8a209e165986154e45589639e4a76998a4ba [path history] [download]
  1. BetterShell/
  2. Builder/
  3. MazeGen/
  4. Network/
  5. OPPM/
  6. OpenIRC/
  7. OpenLoader/
  8. OpenOS/
  9. README.md
  10. TheDig/
  11. loot.properties
src/main/resources/assets/opencomputers/loot/README.md

Lootable Disks

OpenComputers registers a lootable read-only floppy disk for a couple of chests. This folder contains the folders that are the contents of the possible instances of that disk. In other words, there is a certain chance that a disk is added to a dungeon chest, and if it is, one of these folders will be picked at random as the content for the disk.

To add a disk, create a folder and put the files the disk should contain into that folder. Then add an entry to the loot.properties file, where each line represents one possibility for a disks contents. The key (part left of the =) on each line is the name of the folder with the disk's contents, the value (part right of the =) is the label of the created floppy disk.

You are invited to submit your own programs as pull requests! The more the merrier :-)

For example, say you have a program named “chat.lua”. You‘d create a folder, say NetChat or whatever the program likes to call itself, and put the chat.lua file into that folder. You then add the line NetChat=chat to the loot.properties file. And that’s it. Make a pull request and your program is in OpenComputers - unless it fails the arbitrary quality check, of course. Feel free to submit pull requests for fixes to your submitted programs (or of others) at any time!