Commit Graph
5480 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
AtermoneraandGitHub 93d7ad56cc Merge pull request #9300 from Spookerton/spkrtn/del/remove-tcomms-scripting
remove tcomms scripting
2024-01-30 16:23:24 -08:00
MistakeNot4892 00bed6e326 Reworking bonfire fuel logic. 2024-01-18 19:45:58 +11:00
Spookerton d90b523a38 remove TCS scripting 2024-01-18 07:33:53 +00:00
Spookerton 87d9ddf0bd assorted tcomms housekeeping
split some files, merged some files, cleaned some code
removed spurious listening level toggle from relays
2024-01-18 07:33:24 +00:00
MistakeNot4892 8e2bd55ab4 Fixing uses of reserved word operator. 2024-01-18 10:45:37 +11:00
spookerton 29be1f09d2 fix some misc hits on direct overlays access 2023-09-10 17:00:06 +01:00
MistakeNot4892 7ea2cb5889 Tweaking hologram colours. 2023-08-31 01:11:51 +10:00
AtermoneraandGitHub 4d1c709fcc Nymph phyxes (#9180)
* Fixes to nymphs

* clean up lingering carbon/alien references

* Add growth to stat panel

* Add rootlocal to known languages

* add zone sel

* *nibble
2023-08-02 22:41:55 -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
atermonera a8a9054d08 Revert "SSmachines instancing PR (#9080)"
This reverts commit 4889b33cea.
2023-07-23 17:45:10 -08:00
AtermoneraandGitHub 7c46e0bf95 Merge pull request #9166 from MistakeNot4892/lathefix
Refining/fixing material ejection from exo/pros fab.
2023-07-23 15:22:29 -08:00
AtermoneraandGitHub a751398cd4 Merge pull request #9161 from Mechoid/VariousFixJuly17
Bloodpump and Highvel casing Fix
2023-07-23 15:17:40 -08:00
MistakeNot4892 45fa973646 Refining/fixing material ejection from exo/pros fab. 2023-07-21 02:00:02 +10:00
66d15bd963 Robot/Prosthetics lathe Duplication fix (#9117)
* Fix fabs

* Fab update

* Better Eject_material_of_type

* Update code/game/machinery/machinery.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* Update code/game/mecha/mech_fabricator.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* indent fix

* Update machinery.dm
2023-07-18 22:47:27 -08:00
enbyfriendandGitHub 4889b33cea SSmachines instancing PR (#9080)
* Consistency Pass #1
Power cells of all types are now considered stock parts
Went through materials.dm and did some copy+paste work make material definitions consistent across the codebase (eg "steel" = 50 -> MAT_STEEL = 50)

* Machines are now instances in SSMachines

* Performance improvements by way of instancing all of SSmachines

* Fixes the powersink

* Revert "Consistency Pass #1"

This reverts commit cbeef1b5db.

* Update machines.dm

Styling changes

* Update machines.dm

* Update machines.dm

forgot to update the doc
2023-07-18 22:45:49 -08:00
Mechoid eb0655d6c6 Corpse Bloodpump properly functions
Highvel rounds now actually have Highvel bullets.
2023-07-17 17:53:59 -07:00
MistakeNot4892andGitHub f192cfd812 Xenofauna map update. (#9135)
* Repaths badges, ribbons, pins and permits to /medal.

* Drakes can now wear pride pins.

* Updates xenofauna map, repaths some accessories.

* Added fence door interaction for drakes (open but not close)

* Adds stasis cages to the Xenofauna lab.

* Corrects some Cynosure badge paths.

* Allows mobs to climb into stasis cages themselves.

* Added lower temperature sensor alarms to xenofauna.
2023-07-08 17:51:00 -08:00
Asbestos Gremlin 3bc26425b7 ends transphobia in the cloning bay (real!) 2023-06-22 23:01:51 -07:00
VarlaisveaandGitHub 06338d2a95 Updates text sanitization (#9082) 2023-05-28 11:06:15 -08:00
0530f2458a fixes infinite morphium duplication exploit (#9046)
* fixes very old exploit that we literally just discovered

* this is what i get for speedrunning a bugfix

* reworks material ejection code

* literally it worked fine this is just so github likes it

* Update code/game/machinery/autolathe.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* Update code/game/machinery/autolathe.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* code prettiness

---------

Co-authored-by: Atermonera <atermonera@gmail.com>
2023-05-28 10:55:00 -08:00
enbyfriendandGitHub 2ecf2befc5 Smol botany update (#9068)
* Smol botany update

- Adds the botany belt, capable of holding botany related tools, beakers & bottles as well as the floral somatoray
- Gives spades the ability to dig up plants so we don't have to go full texas chainsaw massacre on them whenever we want to remove one
- Adds botany belts to biogenerators
- Adds 2 and 3 spades to xenobotany and botany, respectively

* Update tray.dm
2023-04-23 11:19:38 -08:00
klorpaandGitHub f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
AvaandGitHub 8ede4b4c79 Bioprinter refactor and nanoUI-ification (#9021)
* Good hunk of work on bioprinter refactoring

* and now I sleep

* strongDMM, update maps

* compile tgui bundle

* testing refinements

* Convert to nano

* Slice out the tgui bits
2023-03-23 18:25:42 -08:00
MistakeNot4892andGitHub 642348983f Fixing positional custom emotes. (#9011)
* Fixing positional custom emotes.

* see_emote cleanup.

* Further refinement work on custom emotes.

* Cleaning up some custom_emote() calls.
2023-03-08 19:33:25 -08:00
Seris02andGitHub 75577bd3ca cleans up so many to_chats so they use vchat filters, unsorted chat filter for everything else (#9006)
* better filters for vchat, unsorted chat filter

* adds closing tags, fixes an error I somehow missed
2023-03-08 18:57:55 -08:00
6b909477bc the little construction pr (#9002)
* the little construction pr

* construction-related bugfixes (teal carpet corners, arcade construction, airlock screwdriver panel)

* Update code/game/objects/items/stacks/tiles/tile_types.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* mmmm sweet sweet updates

* actually compiles

---------

Co-authored-by: Atermonera <atermonera@gmail.com>
2023-03-08 18:55:54 -08:00
e11404d103 Bugfixes (#8967)
* bugfix 1: autolathes can actually be deconstructed and don't cause runtimes (and also don't eat your crowbars)

* bugfix 2 (forensic techs actually get detective ids/pdas)

* bugfix 3 (accessories no longer do a weird double period)

* bugfix 4 (right foot)

* bugfix 5 (singular/plural stacks)

* bugfix 6 (ghosts can hang up on communicators -- still causes runtimes but it did this before and the runtimes are from the observer bug and not the communicator bug so it's fine)

* i lost count but this one gives the hos an egun because the cynosure hos locker doesn't have a gun at all and i'm not fucking around with balancing the fancy custom guns

* fixes infinite cell duplication exploit with autolathes (flashlights/coolers come empty from lathe now)

* changelog

* Update code/game/machinery/autolathe.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* Update code/game/machinery/autolathe.dm

Co-authored-by: Atermonera <atermonera@gmail.com>

* commits changes + fixes retro carpet (red) inventory sprites

* return..()'d

---------

Co-authored-by: Atermonera <atermonera@gmail.com>
2023-03-08 18:18:18 -08:00
FrenjoandGitHub 20cdc4b676 Converts move intents to /decl/move_intent (#8993)
* Converts move intents to /decl/move_intent

Adds /decl/move_intent/walk and /decl/move_intent/run.

Switches all move intent checks to use the new IS_RUNNING and IS_WALKING macros.

Renames and refactors /mob/living/proc/set_m_intent() to /mob/living/proc/set_move_intent(decl/move_intent/intent).

Removes the unnecessary /mob/var/m_int and associated code.

Updates all move intent setters to use set_move_intent().

* Swaps incorrect config values

Swaps incorrect move delays since I got them backwards somehow, oopsies.

* Adds suggested ?. operator

Compactifies two if statements using the ?. operator instead.
2023-03-04 14:28:10 -08:00
AtermoneraandGitHub ab7f5a8c3d Merge pull request #8958 from Cerebulon/mining_sounds
Sounds for fabricators, mining machines, levers
2023-03-04 11:59:46 -08:00
MechoidandGitHub 2bec817db2 AI can change their hologram color. (#8955)
* AI can change their hologram color.

* QDELETED check, extra return.

* Typed Vaaaar.
2023-03-04 11:57:16 -08:00
Cerebulon a5f2185b5b New anaesthetic pump and patient stabilizer sprites 2023-02-27 04:22:01 +00:00
Cerebulon 475a57d8fb Sounds for fabricators, mining machines, levers 2023-02-25 22:54:42 +00:00
CerebulonandGitHub 69ba99b5e6 /tg/ era language pass (#8962)
* /tg/ era language pass

* Another pass, more generally inc. code comments

* Even more word tweakies
2023-02-24 23:33:52 -08:00
SypsotiandGitHub 14a10960b7 Union Rep Office and ID (#8964)
* adds ID and office access

* final touches

* requested changes
2023-02-19 16:32:42 -08:00
MistakeNot4892 ca3d4dbb2f Survivalist no longer announces arrivals or departures. 2023-01-22 19:04:31 +11:00
SpookertonandGitHub 141cb6357e Merge pull request #8856 from Atermonera/mecha_targetting_fixes
Mecha targetting fixes
2022-12-22 15:59:05 +00:00
Twitchcog bcb267ef3a Autolathes accept mat stacks raw 2022-12-13 03:23:39 -08:00
atermonera 76c9ec8581 compile errors 2022-12-08 22:02:50 -08:00
atermonera 924356965b Turrets target mechs 2022-12-07 23:46:12 -08:00
spookerton cd25cb4b3a correct mixed case QDEL_NULL/qdel_null + behavior 2022-11-03 12:38:03 +00:00
Cerebulon e5f251b02c Adds a bunch of halloween costumes, costumes in loadout, costume file sorting 2022-10-25 03:42:19 +01:00
Cerebulon 849fb30edc Selective Medical Resprites 2022-10-22 23:52:44 +01:00
spookerton ffba11e5ab rename a bunch of atom flags 2022-10-18 09:36:41 +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
SpookertonandGitHub 9a1b8322bd trained drakes can collect/drop items and use buttons, fire alarms, and levers (#8734)
* drakes can collect/drop items and use buttons

* add a basic implementation of mob dexterity levels

* trained drake emotes are less visually intrusive

also fixes being able to take anchored items as a drake
also fixes some double messages on drake storage
also fixes animals being able to attack/scratch doors without a cooldown
also adds optional scratch_sound on simple_mob for when scratching a door

* fire alarm & conveyor switch drake interactions

also fix runes for actions
also fix not showing progress for dropping an item

* trained drake button/inventory review tweaks

* animal harness suggestions early return tweak
2022-10-13 17:59:35 -08:00
SpookertonandGitHub 5928b9675b Merge pull request #8718 from Cerebulon/shuttleremodel
Shuttle Refit
2022-10-07 21:10:42 +01:00
Cerebulon 97e59cd0e2 Shuttle airlocks, more details 2022-09-29 16:52:46 +01:00
Cerebulon 7fa720266e species sprites, gameplay integration 2022-09-23 23:30:46 +01:00