Skip to content

Commit

Permalink
Merge pull request #1635 from Kandiyaki/impStation
Browse files Browse the repository at this point in the history
more heretic fixes
  • Loading branch information
formlessnameless authored Feb 10, 2025
2 parents a7d6c24 + b2b867e commit 100a8ff
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Content.Shared.Heretic;
using Content.Shared.Heretic.Prototypes;
using Content.Shared.Tag;
using Robust.Shared.Containers;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
using System.Text;
Expand All @@ -19,6 +20,8 @@ public sealed partial class RitualKnowledgeBehavior : RitualCustomBehavior
private IRobustRandom _rand = default!;
private EntityLookupSystem _lookup = default!;
private HereticSystem _heretic = default!;
private SharedContainerSystem _container = default!;


[ValidatePrototypeId<DatasetPrototype>]
public const string EligibleTagsDataset = "EligibleTags";
Expand All @@ -31,6 +34,7 @@ public override bool Execute(RitualData args, out string? outstr)
_lookup = args.EntityManager.System<EntityLookupSystem>();
_heretic = args.EntityManager.System<HereticSystem>();


outstr = null;

// generate new set of tags
Expand All @@ -45,7 +49,9 @@ public override bool Execute(RitualData args, out string? outstr)
{
foreach (var tag in requiredTags)
{
if (!args.EntityManager.TryGetComponent<TagComponent>(look, out var tags))
//WHY DID THEY JUST COPY-PASTE THE NORMAL RITUAL CODE. JUST USE THE NORMAL RITUAL CODE I AM BEGGING
if (!args.EntityManager.TryGetComponent<TagComponent>(look, out var tags)
|| _container.IsEntityInContainer(look))
continue;
var ltags = tags.Tags;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ knowledge-path-side-s3-armor-desc =
knowledge-path-side-s3-flask-name = Priest's Ritual
knowledge-path-side-s3-flask-desc =
Transmute a tank of water into a Flask of Eldritch Water.
When consumed, the water will heal a bit of everything for Heretics, and hurt a bit of everything for Heathens.
Transmute a tank of water and a glass shard into a Flask of Eldritch Water.
The flask contains a mixture of potent medicines.
## stage 5
knowledge-path-side-s5-name = Ritual of Knowledge
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@
drink:
# it's a cryostasis flash filled with healing goodies what could possibly go wrong?
# i will certainly not abuse it as a heretic chemist
maxVol: 100
canReact: false
# imp edit: ^^^^this guy no longer has his free 100u cryostasis beaker to pwn noobs with. jesus christ
maxVol: 75
canReact: true
reagents:
- ReagentId: Omnizine
Quantity: 80
Quantity: 60
- ReagentId: TranexamicAcid
Quantity: 20
Quantity: 15
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

Eldritch Armor provides great protection while also acting as a focus when hooded.

## Priest’s Ritual
<Box>
<GuideEntityEmbed Entity="HereticEldritchFlask" Caption=""/>
</Box>
Allows you to transmute a water tank and a shard of glass into an Eldritch Flask.

This flask contains Omnizine as well as anti-bleeding chemicals.

## Ritual of Knowledge
You learn a special, one-time-only ritual that requires 4 different items, from various organs to candles and stun batons.

Expand Down

0 comments on commit 100a8ff

Please sign in to comment.