summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/game_controller.rb4
-rw-r--r--data/activities.yml37
-rw-r--r--data/items.yml40
3 files changed, 81 insertions, 0 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb
index 3742824..b0fdaea 100644
--- a/app/controllers/game_controller.rb
+++ b/app/controllers/game_controller.rb
@@ -128,6 +128,10 @@ class GameController < ApplicationController
else
current_char.update(activity_started_at: Time.now)
end
+
+ unless @results.any?
+ @results.push({ type: "message", body: "You come up empty." })
+ end
end
rescue ItemQuantityError
current_char.stop_activity
diff --git a/data/activities.yml b/data/activities.yml
index 951a090..8153589 100644
--- a/data/activities.yml
+++ b/data/activities.yml
@@ -734,3 +734,40 @@ open_unlocked_rusted_lockbox:
score: 0.90
- gid: "granite_ring"
score: 0.95
+wildscour_crumbling_ruins:
+ name: "Scour Crumbling Ruins"
+ description: "Wildscour within the crumbling ruins."
+ location: "floret_region"
+ whatnot:
+ duration:
+ base: 60
+ minimum: 35
+ scaling:
+ - type: "skill"
+ gid: "wildscour"
+ scale_value: 1
+ results:
+ - type: "item"
+ chance: 1
+ table:
+ - gid: "vestige"
+ score: 0.55
+ max_quantity: 5
+ xp:
+ - gid: "wildscour"
+ value: 2
+ - gid: "stone_pickaxe"
+ score: 0.70
+ xp:
+ - gid: "manatrawl"
+ value: 4
+ - gid: "stone_axe"
+ score: 0.80
+ xp:
+ - gid: "wildscour"
+ value: 4
+ - gid: "disturbing_doodad"
+ score: 0.998
+ xp:
+ - gid: "wildscour"
+ value: 93
diff --git a/data/items.yml b/data/items.yml
index 7d26b95..7fb61f3 100644
--- a/data/items.yml
+++ b/data/items.yml
@@ -261,3 +261,43 @@ iron_lockpicks:
whatnot:
equip_slots:
- "mainhand"
+stone_pickaxe:
+ name: "stone pickaxe"
+ description: "An old pickaxe found in some ruins."
+ whatnot:
+ equip_slots:
+ - "mainhand"
+ equip_effects:
+ - type: "stat_change"
+ gid: "planequarry_speed"
+ modifier: 60
+stone_axe:
+ name: "stone axe"
+ description: "An old axe found in some ruins."
+ whatnot:
+ equip_slots:
+ - "mainhand"
+ equip_effects:
+ - type: "stat_change"
+ gid: "wealdreap_speed"
+ modifier: 60
+iron_pickaxe:
+ name: "iron pickaxe"
+ description: "A pickaxe made of iron."
+ whatnot:
+ equip_slots:
+ - "mainhand"
+ equip_effects:
+ - type: "stat_change"
+ gid: "planequarry_speed"
+ modifier: 80
+iron_axe:
+ name: "iron axe"
+ description: "An axe made of iron."
+ whatnot:
+ equip_slots:
+ - "mainhand"
+ equip_effects:
+ - type: "stat_change"
+ gid: "wealdreap_speed"
+ modifier: 80