All pastes #384411 Raw Edit

Something

public java v1 · immutable
·published 2007-03-07 01:34 UTC
rendered paste body
import mud.obj.*;player.tell("Inventory: ");if (player.contents.size() > 0) {	player.contents.each { thing -> player.tell("- $thing [${thing.weight}u]"); };} else {	player.tell ("You're carrying nothing.");}