Skip to content

Commit

Permalink
adds vaguish hint texts to the triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Oct 30, 2023
1 parent c2467c2 commit 70d312d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
highest_trigger_amount = 30 //any higher than this and its gonna be practically impossible to trigger
hint_prob = 50
hint_range = 10
hint_texts = list("you almost want to start hitting things.", "a good whack might fix this.")

/datum/artifact_activator/range/heat
name = "Heat Sensisty"
required_stimuli = STIMULUS_HEAT
hint_range = 20
highest_trigger_amount = 15000
hint_texts = list("it feels like someone messed with the thermostat.", "it feels unpleasent being near")

/datum/artifact_activator/range/heat/New()
base_trigger_amount = rand(350, 1000)
Expand All @@ -32,6 +34,7 @@
required_stimuli = STIMULUS_SHOCK
highest_trigger_amount = 10000 // requires atleast t2 parts to trigger a max roll one
hint_range = 500
hint_texts = list("you can feel the static in the air", "your hairs stand on their ends")

/datum/artifact_activator/range/shock/New()
base_trigger_amount = rand(400, 1200)
Expand All @@ -42,3 +45,4 @@
highest_trigger_amount = 10
hint_range = 2
base_trigger_amount = 1 //x-ray machine goes from 1-10
hint_texts = list("emits a hum that resembles the Super Matter", "you could swear you saw your bones for a second")
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
/datum/artifact_activator/touch/data
name = "Data"
required_stimuli = STIMULUS_DATA
hint_texts = list("It yearns for information")

/datum/artifact_activator/touch/carbon
name = "Carbon Touch"
required_stimuli = STIMULUS_CARBON_TOUCH
hint_texts = list("You swear you hear the artifact saying it yearns for flesh.", "One touch couldn't hurt could it?")

/datum/artifact_activator/touch/silicon
name = "Silicon Touch"
required_stimuli = STIMULUS_SILICON_TOUCH
hint_texts = list("It feels like it's malfunctioning")
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
extra_effect = mutable_appearance(holder.icon, "[holder.icon_state]-gem", ABOVE_OBJ_LAYER, offset_spokesman = holder)
extra_effect.color = random_rgb_pairlists(artifact_origin.overlays_reds, artifact_origin.overlays_blues, artifact_origin.overlays_greens, artifact_origin.overlays_alpha)

holder.update_appearance()
holder.update_appearance() // force an all update specifically to try and apply secondary overlays

act_effect = mutable_appearance(holder.icon, "[holder.icon_state]fx", offset_spokesman = holder, alpha = rand(artifact_origin.overlays_alpha[1], artifact_origin.overlays_alpha[2]))
act_effect.color = random_rgb_pairlists(artifact_origin.overlays_reds, artifact_origin.overlays_blues, artifact_origin.overlays_greens, artifact_origin.overlays_alpha)
Expand Down Expand Up @@ -138,6 +138,7 @@
RegisterSignal(parent, COMSIG_ATOM_ATTACK_ROBOT, PROC_REF(on_robot_attack))
RegisterSignal(parent, COMSIG_ATOM_EMP_ACT, PROC_REF(emp_act))
RegisterSignal(parent, COMSIG_ATOM_EX_ACT, PROC_REF(ex_act))
RegisterSignal(parent, COMSIG_ATOM_UPDATE_OVERLAYS, PROC_REF(on_update_overlays))

/datum/component/artifact/UnregisterFromParent()
GLOB.running_artifact_list -= parent
Expand Down Expand Up @@ -203,7 +204,7 @@
continue
if(!prob(ranged_activator.hint_prob))
continue
holder.visible_message(span_notice("[holder] [hint_text]"))
holder.visible_message(span_notice("[hint_text]"))
continue
artifact_activate()

Expand Down

0 comments on commit 70d312d

Please sign in to comment.