summaryrefslogtreecommitdiff
path: root/src/componentwrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/componentwrapper.rs')
-rw-r--r--src/componentwrapper.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs
index 0eca576..392c0dc 100644
--- a/src/componentwrapper.rs
+++ b/src/componentwrapper.rs
@@ -182,8 +182,8 @@ components!(all:
Home (home: Pos);
Faction (faction: String) {Faction::from_str(faction.as_str()).ok_or(aerr!("invalid faction name"))?};
Interactable (action: Interaction) {action};
- Loot (loot: List, spread: Bool) {
- Loot {spread, loot:
+ Loot (loot: List) {
+ Loot {loot:
loot
.iter()
.map(|param| {match param {
@@ -291,6 +291,8 @@ components!(all:
total
}
};
+ Removed;
+ LootHolder () {panic!("LootHolder from parameters not implemented")};
);