Commit Graph

13775 Commits

Author SHA1 Message Date
Kashargul
bd8ee83893 fix stun effect act (#16850) 2025-01-06 18:29:21 +01:00
Kashargul
1c0acffdde fix a runtime in the keyloop (#16852)
* fix a runtime in the keyloop

* also fix that

* gloves runtime

* do it proper
2025-01-06 18:28:59 +01:00
tacoguy7765093
d53224f8f2 makes pull punches work (#16824) 2025-01-06 06:45:27 +10:00
Kashargul
59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Cameron Lennox
405bf22122 Revamps limb-loss code (#16803)
* Revamps limb-loss code

- Makes it so everyone isn't at squishy as necromorphs
- Adds in a threshold for 'how damaged this limb needs to be prior' UNLESS you are dealing MASS DAMAGE to the limb, in which case it needs to be >1/2 the limb's hp (NOTE, GREATER THAN, NOT >=. This means the Eblade can not 1hit arms/legs)
-Vital limbs divide damage recieved by 1.5x making it harder for them to hit the threshold to actually take vital limbs off.
- When limbs enter 'critical state' (They were already at max damage and has been damaged even further) they are 3x more likely to get chopped off.

- Projectiles are WAY too strong and have been WAY too powercrept. Damage dealt by them is divided by 1/2 for all of limbcode, meaning a 60 damage revolver is the equivalent of being hit by a 30 damage attack. If this is dealt to the head,  this is the equivalent of being hit by a 20 damage attack. (no delimb)

- Fixes a bug where sharp weapons were TRIPLE DIPPING their delimb chance.

- Gets rid of brute weapon tearoff. They ONLY have the gib chance now.

- Chances for objects removing your limbs has been HEAVILY lowered.

* I guess mobs get projectile as well now
2025-01-06 06:43:30 +10:00
ShadowLarkens
b57023cd11 Convert preferences to /tg/ preferences (#16449)
* Convert all preferences to /tg/ preferences

* Move obfuscate key/job to game options

* Add abstract_type to each of the new subtypes

* Convert ignored players to tg prefs

* Yet another global category list removed

* Fix error, convert client FPS

* Convert UI_style, UI_alpha, and UI_color to tg prefs

* Clean up a little, convert tooltipstyle

* Convert ambience to tg prefs

* Remove chat_timestamp, tgchat can do this internally and gives localized results

* Convert admin ooc color to pref, merk 01_ui.dm

* Convert uplinklocation to a tg pref

* Fixup byond:// links

* Convert name_is_always_random

* Convert spawnpoint

* v16 savefile migration in prep for converting 03_body.dm

* Convert all colors to tg prefs

* Finish converting ooc notes
2025-01-05 13:39:18 +01:00
Kashargul
ed54afbbf0 fix an issue with multi borg module registering (#16835)
* fix an issue with multi borg module registers

* fix that

* bad feeling
2025-01-05 11:54:41 +01:00
Kashargul
e6a5af065c just some init fixes (#16839) 2025-01-05 11:51:45 +01:00
ShadowLarkens
9b9c3b62c1 Fix a few extra links, make drones also use robotact (#16837) 2025-01-04 16:53:12 +01:00
Kashargul
df9b71e402 Adds SHOULD_CALL_PARENT to examine (#16822)
* Another one I'm curious about

* those don't

* this should call parent

* beds need to be fully moved due to fantasy gateway

* fix that

* finish beds
2025-01-03 08:27:02 +01:00
Killian
59850bba20 minor consolidation and halfmask for vulps (#16816) 2025-01-03 08:24:51 +01:00
Kashargul
3094e65b71 intent cleanup (#16825) 2025-01-03 08:14:28 +01:00
Kashargul
987be6070d bunch of inits without return and a few easy new to init (#16815)
* bunch of inits withou return

* Update cans.dm

* bunch of New to Init

* fix that

* .

* .

* move black hole to init and callbacks

* .

* oups, should not do that late at night

* some more without returns
2025-01-02 18:31:38 +01:00
Kashargul
2876996214 some more strings to defines (#16810)
* some more strings to defines

* fix init order

* .

* .
2025-01-02 08:34:09 +01:00
SatinIsle
dce7856bf5 Digitigrade for hanner and replicants (#16795)
Added the option for hanner and replicants to use digitigrade legs.

Changed the total reform ability to account for clothing to match the sprites to the leg type of the new form.

Why not proteans and prommies? Proteans use prosthetic legs that do not change appearance based on the digitigrade option. Prometheans do work with digitigrade legs but they currently do not match the opacity of the rest of the body.
2025-01-01 18:24:48 +10:00
SatinIsle
1ead983fd7 Hand games (#16782)
Added a new verb called "Play Hand Games", found in the IC tab under the Game category. This verb allows you to play one of the following games with someone next to you or over a small table:
- Rock, Paper, Scissors. Each player chooses one of those and the choices are declared at the same time.
- Arm Wrestling. Players choose a strength and a roll is made that is weighted by the scale, larger characters have an advantage.
- Slap Hands. Players choose a reaction speed, and a roll is made that is weighted by scale, smaller characters have an advantage.
- Thumb wars. Literally just RNG for a free roll at any time.
2025-01-01 18:24:29 +10:00
SpaceMan-Jim
c870d4e54e ERT borg additions and sprite fixes (#16787) 2025-01-01 18:24:19 +10:00
Cameron Lennox
2155f618ce Adjusts movement delay to be broader and fix an exploit (#16799)
* Adjusts movement delay to be broader and fix an exploit

- Fixes an exploit where using items that give negative slowdown combined with species with increased 'item_slowdown_mod ' would hit the speed cap (Teshari, custom species with weakling major)
- Removes vorestation comments in the code
- Revamps how the 'calculate_item_encumbrance' works (With comments of how to revert to a fixed version of the old system if it proves to be too resource intensive)

* Adds  comment
2025-01-01 18:23:58 +10:00
Kashargul
e6ef8b0f2c resize limits and designer / dna update (#16807)
* resize limits and designer / dna update

* .

* genes to mobs

* .

* Update designer.dm

* Update designer.dm

* species cleanup
2025-01-01 18:23:20 +10:00
Kashargul
3942ee8b8d Mobs will no longer be despawned if they aren't inside a cryopod (#16808)
* fix a crash issue

* fix another crash
2025-01-01 17:40:02 +10:00
ShadowLarkens
ca3d2a40a8 Convert robot icons to iconforge, update iconforge to not break on them (#16793) 2024-12-31 15:32:35 +01:00
Cameron Lennox
ebd10e3b19 Fixes a 2 year old typo (#16802) 2024-12-31 15:20:37 +01:00
Kashargul
9acae44349 more languages to defines (#16800) 2024-12-31 15:08:45 +01:00
Cameron Lennox
7088e7041e Fixes feysight runtime (#16794) 2024-12-30 14:52:44 +01:00
Asher-42
3a33158c77 bug fixes for dullahans.. got rid of has_custom open/eyelight to hopefully fix it. (#16783) 2024-12-30 14:51:46 +01:00
Kashargul
9f1b379242 more things that were forgotten (#16786) 2024-12-29 18:30:25 +01:00
Kashargul
cb6357a597 fix combat modules not working on code delta (#16785) 2024-12-29 17:42:46 +01:00
Kashargul
2da9dcd433 fix pakkun and simple mob language (#16777)
* fix pakkun and simple mob language

* .

* also usr to src

* actually don't change when you cancel

* .

* .
2024-12-29 13:42:32 +01:00
Asher-42
1d28e8abe9 part 2 borg customization - First downstream of new dullahan sprites. (#16762)
* part 2 borg customization - First downstream of new sprites.

this is a wip, il post when its finished in the comments. backing it up this way.

* Update dullahans64x64.dmi

* Update dullahans64x64.dmi

* Update dullahans64x64.dmi

* fixing science wing sprite

* adding in the code now
2024-12-29 05:57:58 +10:00
Kashargul
728aad64e5 this was missed (#16773)
* this was missed

* .
2024-12-28 20:34:40 +10:00
Cameron Lennox
6c3365a704 Fixes taur rigsuits disappearing when dir changed (#16774)
* Fixes taur rigsuits disappearing when dir changed

* Whatever, we'll let set_dir do all the work
2024-12-28 20:34:28 +10:00
Cameron Lennox
2528be8bce Vision bugfixes (#16771)
* Fixes see_invisible getting overridden

- Fixes see_invisible from being overwritten if your see_invisible_default is > SEE_INVISIBLE_LEVEL_ONE.

* Fixes ghost manifest() proc runtiming

- Fixes a runtime of when manifest() was called on a ghost with no user. Allows admins to call manifest() without it runtiming.

* Fixes the ghost 'Toggle Visibility' verb

- Due to it being a variable on the proc itself, it wouldn't properly call and store the time..

* Fixes feysight

- Feysight was trying to give vision into the 'see_invisible 60' layer but had forgotten to also give you the plane_holder for that layer.

* fix span

* More fixes

- Allows ghosts to ACTUALLY USE the ghost whisper and become visible proc if their is_manifest is enabled via admins.

- Allows admins to give any /mob verbs and procs instead of just  /mob/living via admin add_verb topic

* False
2024-12-28 20:33:47 +10:00
Aroliacue
c98fe91da3 Admin-Distributable Cloaking Ability (#16769)
* Admin-Distributable Cloaking Ability

* span update

---------

Co-authored-by: Aroliacue <avaylaiss34@gmail.com>
2024-12-28 20:33:34 +10:00
Asher-42
ad28bcedd4 Extra borg overlay for more options (#16759)
how to use?
add this to the robot sprites dm in the job modules like eye sprites.

has_robotdecal_sprites = TRUE
2024-12-28 20:32:56 +10:00
Cameron Lennox
37e8ca6194 Turret & Sound Optimizations (#16754)
* Portable Turret Optimization

Optimizes portable turrets. Takes from Chomp PR here: https://github.com/CHOMPStation2/CHOMPStation2/pull/8088

Optimizes them further by changing mobs_in_xray_view to mobs_in_view.
Reason: mobs_in_xray_view was adding mobs that were out of sight (behind walls) to the target list and trying to do pathfinding to shoot them. If you had 20 mobs around a PoI with turrets, it'd use a LOT of CPU needlessly.

Also adds in Chomp's /mobs.dm helpers as they're helpful.

* Ports over Chompstation Sound Optimizations

- Replaces for( listeners) with a check that sees if a listener is ALSO a hearer

- Makes it so even if there is no vary, if someone has a frequency it uses the frequency for playsound_local

From https://github.com/CHOMPStation2/CHOMPStation2/pull/8088
2024-12-28 09:43:15 +10:00
Cameron Lennox
d74a18f7fc Allows borg tasers to properly charge when in charging ports (#16753)
* taser

* Adds sanity check
2024-12-28 09:43:07 +10:00
dan
3d6521c133 ears + horns (#16764) 2024-12-28 09:42:35 +10:00
Kashargul
b324befde5 On demand belly loading & multibelly (#16758)
* Moves simple mob belly loading to on demans

* style

* early

* multibelly

* even more human

* .

* bunch of update_fullness

* animals need an icon refresh

* the icon has the fullness part, optimize that

* one more
2024-12-28 09:41:42 +10:00
Kashargul
fc57eb0085 initial ghost spawn is important... (#16760)
* initia ghostl spawn is important...

* .
2024-12-28 09:41:24 +10:00
Guti
29d7ced262 fix (#16767) 2024-12-28 09:40:11 +10:00
SatinIsle
20ac3eb0a4 Winter event mobs (#16768)
Added christmas catslug variant.

Added a grey scaled drake variant of the dragon, specifically intended to be played by the creator of the art for the upcoming event (and future events), as it's not quite polished yet for every day use. Though they are fine with it being used in other ways here and downstream if desired. The creator is grayscaledrake.
2024-12-28 09:39:27 +10:00
Cameron Lennox
822d60e32d Fixes borg overlays (#16744)
- Fixes borg overlays disappearing when slipping on something like ice or being stunned and never coming back until a new module is selected.

This meant things like eye overlays were in a permanent state of limbo until you selected a new module.

- Brings the file up to date with (not really new but not old) standards of not using "src."
2024-12-23 07:35:03 +10:00
Kashargul
d421a56cc4 More area flag option fixes (#16740)
* some mor fixes on the block flags

* .

* fix aghosting

* .

* add privacy switch

* .

* ignore bellied

* .

* .

* fix it up
2024-12-23 07:34:54 +10:00
Kashargul
1da1edaa28 hides death messages in protected areas when dying in a belly (#16743)
* hides death messages in protected areas

* .

* .
2024-12-23 07:34:28 +10:00
Kashargul
3428cb1921 fix bodyscanner (#16735)
* fix bodyscanner

* improve performance on that

* .

* fix those

* Update ghostnet.dm
2024-12-19 15:41:42 +10:00
Kashargul
f348a108e2 prvents ghosts from leaving / getting tossed out bellies in areas with BLOCK ghosts flag (#16726)
* prevents ghosts from getting instantly removed form a belly or leaving it in no ghost areas

* add belly leave popup

* .

* .
2024-12-18 20:26:29 +10:00
SatinIsle
13b7954b77 Fixed scrubble resting (#16725)
Fixed scrubble resting sprite being broken.
2024-12-18 20:26:18 +10:00
Kashargul
1a424f5bd8 fix a runtime in the ghostnet (#16724) 2024-12-18 20:26:10 +10:00
Cameron Lennox
f82d1dcffa Borg Icon Optimization and Weapon Modulation (#16705)
* Streamlines borg icon generation

Cross-port of https://github.com/TS-Rogue-Star/Rogue-Star/pull/708
Makes borgs not super super wonky with icon generation
https://i.imgur.com/qp8K2tD.gif

* Virgo Specific

* Makes borgs use flags

Instead of the copy-paste gore that was EVERYWHERE

* Makes it a list. ADDS WARNINGS.

* I don't know hexi!!!

* Sit!

* Changes them to the new paths

* Makes cyborg guns modular

* whoops i forgot a word

* Makes dogborg melee modularized

Makes it so you can have a generic 'melee' sprite and a 'dagger' sprite.

* blade

Downstream compat

* Moves it to a nicer check loop
2024-12-18 20:25:59 +10:00
Guti
bc06935aa0 Virology Fixes 6 (#16715)
* Fixes

* Fix

* BS Sneeze
2024-12-16 14:46:05 +10:00