lua:ch:inventory
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lua:ch:inventory [2014/12/24 04:43] – created aethyn | lua:ch:inventory [2014/12/24 04:57] (current) – aethyn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Returns a table of [[:triggers: | + | Returns a table of [[: |
| Example: | Example: | ||
| - | Looping | + | Loop through a PC' |
| - | '' | + | <code lua>for _,object in ipairs(ch.inventory) do |
| - | '' | + | |
| - | '' | + | object: |
| - | '' | + | |
| - | '' | + | end |
| + | </ | ||
lua/ch/inventory.1419396230.txt.gz · Last modified: 2014/12/24 04:43 by aethyn