Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some more changes to vanilla events, with improvements to rely less on text and more on physical items, as well as minor fixes.
Changes:
General
-Rebalanced some of the skill checks (some were too low and had a near 100% success rate)
-Some simplification of event code using loops to avoid copying the same outcomes several times
Outpostitems.xml
-added bed tag to beds to be targetable by events
-added medbed tag to medical bed (could be useful)
Censorship
-Security now spawns holding the clown crate
-You can bribe security for the crate, or steal the crate
-The clown picks up the crate after you return it
-Added honk sound
Sleightofhand
-Fixed security not properly arresting you if caught
-Marked artifact as stolen
-Made NPCs actually "huddle"
Bigbrother
-Added a sound for the announcement
-Need to interact with either a junction box or a bed
-Made security react faster after you're caught
Goodsamaritan
-Added a loop so you can get naloxone if you don't have some already on you
-Rebalanced the rewards (using naloxone gave the same reward as calling doctor, picking pockets gives more money and fentanyl)
Tastetest
-Made the outcome of picking a random bottle truly random (outcome was fixed)
-Changed the afflictions used for healing/damage
Terrorism101
-Gives wires after defusing the bomb
Clownrelations1
-Made clowns spawn on loading the event (so they don't appear out of thin air)
Stowaway2
-Finally enabled. Requires cargo mission active
-Many small fixes
-Added effects for it
-bug: OnRoundEndAction triggers immediately for some reason
Desktop.2023.09.10.-.17.38.09.06_35.mp4
Text added
eventtext.censorship.confiscated
eventtext.censorship.interruptguard
eventtext.censorship.wantcargoback
eventtext.censorship.implementsofterror
eventtext.censorship.arrangement
eventtext.censorship.guardsighs
eventtext.censorship.bribery
eventtext.censorship.deal
eventtext.censorship.nodeal
eventtext.censorship.notenough
eventtext.censorship.gavemoney
eventtext.censorship.notconvinced
eventtext.goodsamaritan.findnaloxone
eventtext.bigbrother.JBsuccess
eventtext.bigbrother.JBsussy