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

Implements RIG DNA "Locks" and RIG Crushing #7302

Closed
wants to merge 3 commits into from

Conversation

Geevies
Copy link
Contributor

@Geevies Geevies commented Oct 30, 2019

  • Adds a DNA lock feature which can be used for different purposes in the future.
  • Adds RIG crushing, which applies 10 brute to the wearer every process().
  • The ninja's DNA gets attached to its RIG at spawn, if anyone tries to wear it, they'll get crushed, die, and explode. The ninja changing race, colour, hairstyle, etc. does not trigger a DNA change, so the RIG will still see them as the owner. Beware radiation.

@Geevies
Copy link
Contributor Author

Geevies commented Oct 30, 2019

!review

code/datums/outfits/outfit_admin.dm Outdated Show resolved Hide resolved
var/obj/item/weapon/rig/light/ninja/rig = new /obj/item/weapon/rig/light/ninja(src)
if(H.dna)
rig.dnaLock = H.dna
H.equip_to_slot_or_del(rig, slot_l_hand)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not back?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Equipping it to back causes a timer unless some gimmicky code is used, which stalls the start of the game and causes people to spawn in space. This also allows the ninja to simply put the hardsuit down and modify it with modules bought from the store.

code/modules/clothing/spacesuits/rig/rig.dm Show resolved Hide resolved
@Geevies Geevies closed this Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants