19 lines
595 B
GDScript3
19 lines
595 B
GDScript3
|
|
extends Quest
|
|||
|
|
|
|||
|
|
func _init() -> void:
|
|||
|
|
name = "A Sticky Situation"
|
|||
|
|
var event_weights = [1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,4,4,5]
|
|||
|
|
var num_events = event_weights.pick_random()
|
|||
|
|
for i in range(num_events):
|
|||
|
|
var evt : Quest.Event = Quest.Event.new()
|
|||
|
|
evt.type = Quest.Event.Type.COMBAT
|
|||
|
|
evt.enemies = ["goo"]
|
|||
|
|
evt.time = 5
|
|||
|
|
events.append(evt)
|
|||
|
|
desc = "Nestor’s Woods is facing a slime invasion and the farmers are getting nervous, send an adventurer to help squash that sticky situation!"
|
|||
|
|
location =
|
|||
|
|
rewards = {"exp":10, "gold":5}
|
|||
|
|
guild_rewards = {"glory":10, "gold":5}
|
|||
|
|
covenant_cost = 5
|
|||
|
|
|