Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more heretic fixes #1635

Merged
merged 2 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading