Skip to content

Conversation

jwhitak
Copy link
Collaborator

@jwhitak jwhitak commented Sep 8, 2024

Encouraging bad admin behavior since 2024

image

What this does

This adds a list variable called bullet_overrides to all guns, null by default. This is a list of variables that will replace the projectile's variables when it is fired. To use it, you need to follow these steps:

EASY MODE

  1. have +FUN
  2. right click gun
  3. choose variable
  4. fun begins

image
image
image
image
image

POWER USER MODE

  1. have +VAREDIT
  2. Add (C) an empty list to this variable
  3. Add (E) text entries to the list depending on what you want to change, with associated variables being the value you want to set them to
  4. Fire away

For example, if you want to make your laser deal 10 TOX damage on hit instead of the default laser damage, you would:

  1. vv your desired gun
  2. (C) add an empty list to bullet_overrides
    image
  3. (E) Add var, text, damage no quotes or anything, yes associate a value, num, 10
    image
    image
    image
    image
    image
  4. Add another variable, text, damage_type, yes associate a value, text, tox
  5. Done.
    (TL NOTE: this didn't affect the taser projectile, which has a bonus nodamage = 1 variable that must also be changed!)
    image
    (Shot this dummy 3 times with laser set to LETHALS)
    image

Why it's good

Oh boy is it not good for the players. Hoooo boy.

How it was tested

See above images for some examples.

@jwhitak jwhitak added Content Adds something. Neat! Logging / Administration This touches things involving admins or logging. labels Sep 8, 2024
@west3436
Copy link
Collaborator

west3436 commented Sep 8, 2024

Honestly I'd recommend making this an admin verb on all guns which gives them an input to pick from lists to make their selections. I don't see your average admin digging through code enough to fully take advantage of this

@Eneocho
Copy link
Collaborator

Eneocho commented Sep 8, 2024

Can't wait for the inevitable "shotgun that heals you when fired" so you can go full shotgun medic.

@jwhitak
Copy link
Collaborator Author

jwhitak commented Sep 9, 2024

Ok. I've added an easy verb to quickly change some common variables. It's available to any admin with +FUN. Just right click any obj/item/weapon/gun.

Co-authored-by: west3436 <66280799+west3436@users.noreply.github.com>
@angryturnip
Copy link
Contributor

I have at least 7 bus ideas on the backburner I can finally do if this gets merged

@west3436 west3436 merged commit 3c8070b into vgstation-coders:Bleeding-Edge Sep 9, 2024
5 checks passed
@jwhitak jwhitak deleted the diltOverrides branch September 12, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Adds something. Neat! Logging / Administration This touches things involving admins or logging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants