Commit Graph
746 Commits
Author SHA1 Message Date
Spookerton ebbf0e33fb between() -> clamp() & swaps args 1 and 2 in uses 2024-02-05 15:47:07 +00:00
Spookerton 978f4511a5 examine signature changed to include distance
- distance is INFINITE, 0, or a positive integer based on get_dist() between
the examiner and examinee's turfs when they are on the same Z. When the
examiner is dead or a ghost, distance is always 0.
- also updates /examine( implementations to use it!
- adds w_class_to_name proc for reusing "It is a X item." examine behavior.
2024-01-31 13:49:52 +00:00
SapphicSylveonandGitHub 38df5b9c14 Zaddat can wear ties (#9271)
Ties and medal accessories can now be attached to space suits, most notably zaddat shrouds. Fashion guild members encouraged to put in some more overtime to meet demand.
2023-10-24 18:02:38 -08:00
MistakeNot4892andGitHub 658e19e734 Porting flying robots from Bay. [IDB IGNORE] (#8885)
* Semiport of Allow_Spacemove from Bay.

* Porting flying robots from Bay.

* Converting platforms to an alt title of Robot.

* Converting existing modules to new proc flow.

* Cleaning up jetpack code for robots.

* Making flyers and platforms buildable.

* Debugging/refining robots port.

* Reverting some unneeded spacemove changes.

* Refining/debugging bots.

* Removing Bay subtypes, adding flying subtypes of existing modules.

* Icon rework for flying robots.

* Working commit for flying borgs PR.
2023-07-31 22:22:12 -08:00
klorpaandGitHub f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
Cerebulon ec84cc47d5 Fix several hats and hoods shaving your face 2023-03-16 01:02:20 +00:00
Mechoid 15fa93c00b Random Rig spawner no longer spawns access locked rigs. 2023-02-20 03:11:11 -08:00
MistakeNot4892andGitHub 9a84667323 Reworks on-mob overlay icon generation. (#8920)
* Porting species equip_adjust from Neb.

* get_species() => get_species_name(), adds correct get_species() impl

* sprite_sheets is now crudely lazylisted.

* Adds returns to add_blood and add_accessories.

* apply_addblends now uses an overlay.

* Renames the various worn overlay procs to be more informative.

* Debugging/refining overlay gen.

* Adding handling for string icon paths.

* Refining/debugging offset overlay gen.

* Getting the offset system working.

* Commenting out Teshari offsets for the time being.
2023-02-15 18:22:42 -08:00
elgeonmb 5b335ab0d2 hot pink shroud 2023-02-04 09:48:11 -08:00
Greenjoe12345andGitHub 83eaaa0a4f Teshari sprites additions and adjustments (#8869)
* teshsprites

* more additions

* oop

* rdsheet fix

* additional additions
2023-01-15 11:02:31 -08:00
Ava b05097b5bc grammar standardization for softsuits 2022-12-24 00:39:48 -05:00
Cerebulon 635d972849 Three minor icon fixes 2022-10-31 02:29:48 +00:00
Cerebulon 111add6269 Correction to spacesuit inventory flags 2022-10-24 22:32:04 +01:00
Cerebulon dc6b9751bc Basic Uniform Resprite: Civilian 2022-10-24 22:32:03 +01:00
spookerton bb472b4832 replace 0 for EMPTY_BITFIELD on atom_flags configs 2022-10-18 09:36:40 +01:00
spookerton 3abdbbaa1c replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
2022-10-18 09:36:36 +01:00
Cerebulon 575a27edcb Firefighting gear 2022-10-09 20:02:54 +01:00
Cerebulon 7fa720266e species sprites, gameplay integration 2022-09-23 23:30:46 +01:00
Cerebulon 77ade5d5d3 An Abundance of Hats 2022-09-23 13:30:56 +01:00
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
spookerton 1ccb2df2de trivial 1:1 overlays -> overlay proc changes
NB. In some cases we go from a more complex image() to a single icon_state string and I assume this works for every case but do not care to check because of the sheer scale of extra fiddly effort. Buyer beware, not my code.
2022-04-24 07:50:21 +01:00
atermonera 9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
atermonera 7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
atermonera 101740a7d3 Updates icon paths 2022-04-17 19:14:07 -08:00
SpookertonandGitHub 8c7324bd60 Merge pull request #8465 from listerla/whatificouldspell
Corrects spelling of a Zaddat shroud
2022-04-01 18:24:45 +01:00
atermonera c7f1880394 Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"
This reverts commit 4d8c43f106.
2022-03-29 16:01:32 -08:00
listerla e7bacb5fb0 Corrects spelling of a Zaddat shroud 2022-03-23 13:34:24 -04:00
listerlaandGitHub b13c31da3f Ports 4 Zaddat suits from Citadel (#8436)
* Ports Zaddat suits

From https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/2228

* Item name and spacing fixes
2022-03-20 11:11:01 -08:00
AtermoneraandGitHub 4d8c43f106 What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning

* Basic tools set tool quality

* Toolspeed is replaced by tool quality checks

* Addresses assorted results from live test

* Extra cleanup
2022-01-16 15:52:55 -08:00
0232be9531 Repaths obj/effect/effect, datum/effect/effect [MDB_IGNORE] (#8312)
* Repaths obj/effect/effect, datum/effect/effect

* linter fixes

* No new

Co-authored-by: Atermonera <forslandm@gmail.com>
2022-01-16 00:14:39 -08:00
MistakeNot4892andGitHub 2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
FenodyreeAvandGitHub f8a8f9e477 Fixes Colony Director's Armour (#8287)
* Fixes Colony Director's Armor

The CD's armour inherits from clothing/suit/armor/ instead of /clothing/spacesuits, like everything else in this file, so it lost it's space protection when the SPACEPROOF tag got removed.

* Removes Atmosphere
2021-09-11 11:40:11 -05:00
AtermoneraandGitHub 959511918c Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable (#8156)
* Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable

* floorbot compiles
2021-06-29 20:28:16 -07:00
Unknown 2c771d0ae5 Halves Item Slowdown Effects
Most items in the codebase have a slowdown multiplier of one, when slowdown is handled species-side in multiples of 0.5. This makes the effect of species slowdown almost non-existant when item slowdown is involved, and makes species that have item slowdown reduction (such as Unathi) unnaturally fast.

Do note that I also went through and removed odd slowdown numbers as well, as, due to the way slowdown is tied to tickrate, it should be done in intervals of 0.5.

I tried to view things on a case by case scenario but there will probably be changes that will need to be double checked.

Some items will be handled differently, I will list the exceptions below.
Boots of Speed: Kept at -1, it is boots of speed after all.
Chemistry Bag: Increased to 3. This should not really be toted around outside of chemistry.
Hybrid Tools: They already have a lot of other disadvantages, and are kind of hard to get, and 0.1 is a weird number for slowdown.
Site Manager's armor: Already 1.5
Unathi Breacher modules: These things are overpowered and Unathi already have a racial trait to virtually remove slowdown.
Voidsuits: Already done in intervals of 0.5, no change.
RHR Accellerator: This thing probably has appropriate slowdown values for what it is.
Utility suits: Already done in intervals of 0.5
Clothing/suits/armor: Already done in intervals of 0.5
2021-06-24 17:24:52 -04:00
Aronai Sieyes e2c32cae91 Make req_[one_]access lazy 2021-05-31 22:43:11 -04:00
NovacatandGitHub be7e5898c3 Voidsuit Balance Overhaul (#8106)
* Voidsuit Balance Overhaul

Overhauls the stats of voidsuits and tries to put them into niches. So far, I decided to go with a tier-based system.

Tier 1: Basic voidsuits available to the station and can be purchased from Cargo fairly cheaply (35 points).
Tier 1.5: These are slightly improved over Tier 1, but not as good as Tier 2. Currently, only the exploration/exploration medic voidsuits fit the bill.
Tier 2: These voidsuits are available to the station, but can only be purchased from Cargo at higher prices (60 points).
Tier 3: Mercenary voidsuits.

One of the key factors in this overhaul is that the slowdown on voidsuits was made granular. Instead of all voidsuits having a slowdown of 1 or 0, most voidsuits will have a slowdown of 0.5, while voidsuits that have really good protective attributes (such as security voidsuits) will move slower.

As well as this, most higher end voidsuits were given better breach threshhold and resilience values, because even the most heavily armored voidsuits were way too easy to pincushion for some reason.

On top of this, most voidsuits were given niches.

Engineering Voidsuit (Tier 1): Moderate radiation protection, Slightly better pressure/heat protection. Moves slow (Slowdown 1)
Hazmat Voidsuit (Tier 1): Perfect Rad Protection, but loses pressure/heat protection of engineering voidsuit. Also Slow.
Construction Voidsuit (Tier 1): Lighter than Engineering/Hazmat suits, but lacks either radiation protection or pressure/temp protection. Has a bit of extra armor, too. Mostly for field use.

Reinforced Engineering Voidsuit (Tier 2): Has good pressure/temp protections, perfect radiation protection, and moves pretty well.
Salvage Voidsuit (Tier 2): Same as above.

Mining (Tier 1): Fairly decent melee/bomb armor, and slightly harder to breach. Also mild radiation protection. Heavy.

Frontier Mining (Tier 2): Same as above, except lighter.

Medical (Tier 1): Normal weight, has some radiation protection, but otherwise unremarkable.
EMT (Tier 1): Exchanges radiation shielding for additional armor. Normal weight.
Biohazard (Tier 1): Highish melee protection and high atmos protection. Designed for EMTs in extremely hazardous enviornments.

Vay-med (Tier 2): Zero weight, still made of paper mache.

Security (Tier 1): Moderate protection all round, heavy weight.
Crowd Control (Tier 2): Focus on melee/bomb protection, 
Security EVA (Tier 2): Focus on Ballistics/Laser protection.

Atmospherics (Tier 1): Pretty much the same. Super High atmos/fire protection. Extremely slow. Extremely hard to breach.
Heavy Duty Atmospherics (Tier 2): Same as above, except lighter.

Exploration (Tier 1.5): Normal weight and armored, but skimps on ballistic armor. Not quite as armored as security voidsuits. Above average rad protection.

Field Medic (Tier 1.5): Loses some of the armor, but gains more rad protection and some heat/atmos protection.

Pilot (Tier 1): Some very light armor plating, minor rad protection, otherwise unremarkable.

Blood-red (Tier 3): Mostly the same, except extremely hard to breach now.

Soot-covered Voidsuit (Tier 3): Heavier than the blood-red, but also pressure and fireproof. Loses a very little bit of ballistic/melee protection for excellent laser protection.

* Accidentally copypasta'd a bit too much

* Adjusts Breach Values
2021-05-29 09:39:52 -09:00
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
KillianandGitHub db13802943 SAR/FM Suit Hotfix (#8032)
* exploration medical voidsuit

* Update station.dm

* SAR/FM Suit Hotfix
2021-04-20 18:38:11 -09:00
KillianandGitHub c434860e49 Exploration Medical Voidsuit (#8020)
* exploration medical voidsuit

* Update station.dm
2021-04-09 22:35:19 -09:00
MistakeNot4892 a9537638bf Repathed/renamed seromi to teshari. 2021-03-23 09:14:55 +11:00
Cerebulon da9c2aced6 Fixed 'Hardsuit Modules' tab verbs 2021-02-16 17:54:26 +00:00
CerebulonandGitHub 541dd85456 TGUI Fixes, including aghost interaction. (#7843)
* Filth + Graffiti Fixes

* TGUI fixes

* fixed the rebase graffiti thing AGAIN

* javascript indents

* rebuild zzzzz
2021-01-27 19:47:09 -09:00
ShadowLarkens dad9020f9a TGUI Engineering... and a bunch of other random things 2020-10-21 13:02:19 -07:00
KillianandGitHub a503f127be [FIX] Magboot & RIG Contamination/PHORONGUARD Usage (#7718)
* Update robotics.dm

* Update scanner.dm

* Update snacks.dm

* rig contamination prevention
2020-10-16 23:08:50 -07:00
listerla d56974cb92 Colony Director -> Site Manager 2020-08-25 20:12:29 -04:00
listerla 2310987486 Replaces bolt sounds for rigs with servo sounds 2020-08-12 23:27:36 -04:00
listerla 7e37215924 capitalization change 2020-08-11 11:23:28 -04:00
listerla b8a86c31b5 Ports Bastion of Hestia rig sounds 2020-08-11 11:22:54 -04:00
Rykka 28a7698b9e Port lots of things that had to wait on alerts
Adds a HUD for observers
Adds a HUD for rigs and mechs
Adds up/down buttons for AI hud
Add more tg style alerts
Fix some bugs with the tg alerts
Improve icon_states usage by caching it
Redo how respawning works, add a button to ghost hud for it
2020-07-30 16:23:32 -04:00
KillianandGitHub a60a0ab21b Update robotics.dm (#7321) 2020-07-08 18:20:55 -07:00