Commit Graph

54 Commits

Author SHA1 Message Date
SECBATON GRIFFON
a464964ef3 Traitor kill announcer (#37139)
* starts PR and adds bunch of soundfiles, will cull some if not needed

* first blood

* cuts down these sounds and uses this

* fixes

* works now

* some more sound stuff

* headshot support

* runtime fix

* not gonna use these either

* converts files finally

* forgot this

* timer hotfix

* oh, here

* makes them say it too

* Delete bunker.txt

---------

Co-authored-by: SECBATON-GRIFFON <kanef9x@protonmail.com>
2024-10-02 13:28:12 -04:00
SECBATON GRIFFON
ec12dd5e0a Makes gun targeting actually work with item and vehicle usage (#36997)
* initial commit

* removes this, it works

* feedback cleanup

* vanquishes usr

* catching this

* client checks are back too

* redundant

* adds this here too

* clarification

* update syntax

* for the user too

* specifies

* fix

* compiles

* clearer
2024-09-03 11:38:54 -04:00
SECBATON GRIFFON
ccb9f33037 Smoother AI tracking (#36383)
* Improved AI mob tracking

* Improved AI mob tracking

* Improved AI mob tracking

* Improved AI mob tracking

* Improved AI mob tracking

* Improved AI mob tracking

* Improved AI mob tracking

* Improved AI mob tracking

* bit of an improvement

* events on item equip and unequip

* events on item equip and unequip

* events on item equip and unequip

* events on item equip and unequip

* megaphones

* better way?

* file unchanged

* have to track it like this

* performance

* performance

* cutdown

* unnecessary

* nevermind

* actually sets null

* actually sets null

* rewrite

* relocates this

* relocates this

* updates to new syntax

* documentation

* possible help with this

* this oughta do it

* smooths this out too

* updates this

* fixes to new name

* cuts this down and cleans up

* cleaner system

* Revert "cleaner system"

This reverts commit e679a83297.

* removes controversial bit

* restores something

* clearer

* extra line to be sure

* fix

* fixes requested

* covers these cases too

* more accurate

* changes all of this

* forgot this

* unusable

* makes unlocking work

---------

Co-authored-by: SECBATON GRIFFON <sage>
Co-authored-by: SECBATON-GRIFFON <kanef9x@protonmail.com>
Co-authored-by: SECBATON-GRIFFON <>
2024-08-21 09:08:32 -04:00
boy2mantwicethefam
0ea20eb028 Cleaned up the Roid Rat Punch code (#36771)
* clean

* fix and more clean-up

* more stuff

* tiny fix

* Removed a list
2024-07-18 08:50:13 -04:00
SECBATON GRIFFON
9de04c35c2 Fixes diagonal shuttle walls not meson updating on transit (#36331)
* Fixes diagonal shuttle walls not updating on transit

* also adds this

* moves here

* moves here

* moves here

* extends possible functionality, goes unused in this PR though

---------

Co-authored-by: SECBATON-GRIFFON <>
2024-04-17 07:35:39 -04:00
nervere
e6444e3669 deprecate remaining hook handlers to use events instead (#34504)
* deprecate revs hook handler

* properly deprecate revs hook, deprecate apes hook, make apes into faction and role datums

* make apes into faction and role datums

* remove redundant reboot hook handler and hook

* handle media setup in login

* remove mob hooks

* replace MobAreaChange hook

* remove rest of hooks and remove files from dme

* no more SetupHooks()

* MobAreaChanged event and move jukebox hook into proc

* fix OnMobAreaChanged proc

* byond sux

* remove unused event

* fix title music

---------

Co-authored-by: nervere <sage@lulz>
2023-11-19 00:44:37 +00:00
SECBATON GRIFFON
0501600463 Fast food vault (#33966)
* One way window fixes

* makes these work with thermals a bit nicer

* now mimics proper meson effect

* reducing some calls of view()

* another unnecessary extra call eliminated

* another one down

* another one down

* Revert "another one down"

This reverts commit 2b5c35789d.

* hotfix

* hotfix

* removing unnecessary var

* not necessary

* iterates over windows and not view()

* moves this check here

* cleanup

* Adds some support for one way windows from the other side

* Revert "Adds some support for one way windows from the other side"

This reverts commit f351f0b7c1.

* Now for a working method that does NOT call view() at all!

* making this more approximate

* Fast food outlet vault

* Fast food outlet vault

* Fast food outlet vault

* Fast food outlet vault

* removing stuff from other PR by mistake

* removing stuff from other PR by mistake

* makes these not smash the crates up

* better areas

* better areas

* better areas

* better areas

* better areas

* better areas

* touchups

* piping fixes

* this system might work more

* on by default

* ordering now works

* remapping a bit

* remapping a bit

* remapping a bit

* remapping a bit

* possible fix?

* payment now finally works

* payment now finally works

* smaller again

* forgot this bit of piping

* basis for something later

* basis for something later

* maybe not cutting out gives better results more often

* so only the bot can hear this one

* air alarms and proper map size

* trespass detection

* trespass detection

* trespass detection

* trespass detection

* trespass detection

* trespass detection

* trespass detection

* trespass detection

* fix

* now more of a reason to make this its own area again

* multi ordering is now doable

* multi ordering is now doable

* multi ordering is now doable

* multi ordering is now doable

* multi ordering is now doable

* multi ordering is now doable

* multi ordering is now doable

* this should be a better airshield

* this is better

* runtime fixes

* reformat

* undefines this

* proper death visuals, removing airshield altogether, spiderling too, making area enter stuff work again

* removing last few spiderlings, hiding this door behind falsewall properly

* fixing this

* map window, floor and area fixes

* unused

* FINALLY found the root of this problem

* beginning of filter function that removes duplicates in orders

* beginning of filter function that removes duplicates in orders

* finally works now

* finally works now

* use later maybe

* use later maybe

* adding this kind too

* adding this kind too

* adding this kind too

* for another PR maybe

---------

Co-authored-by: SECBATON GRIFFON <sage>
2023-04-24 21:53:12 -05:00
Hinaichigo
03c70e0960 Cooking with frying pans (#33569)
* Beginnings of frying pan.

* Sprite stuff and make cooking use process().

* Some progress towards being able to put a frying pan on a grill.

* More progress.

* More progress towards campfires and barrels. Recipe flags.

* Progress on the various cooktops and standardize var names.

* Wearing frying pans.

* Get bunsen burners working. Hopefully get jecties working as well.

* Fixes and neatenings.

* Add frying pans to maps.

* Update item_attack.dm

remove debug

* Make some recipes only valid in microwave.

Co-authored-by: threshold862543 <gitgudemailaddress@proton.me>
2022-11-04 21:03:13 -05:00
boy2mantwicethefam
7e637ffa40 Adds a new wizard spell: Punch (#33185)
* 1

* Punching

* Update punch.dm

* Update punch.dm
2022-09-05 11:02:37 -05:00
Hinaichigo
e0fc50d030 Flipping chocolate coins (#32555)
* Flipping chocolate coins.

* Change equipping behavior.

* Flippable candy coins.

* .

* Use defines.

* Change to component.

* remove 'as'

* Fixed coin orientation reset upon equipped().

* Update coinflip.dm

remove comment

* .

* Changed iscoin() to isitem().
2022-05-10 04:54:39 +02:00
DamianX
31f528a797 Refactored new AI components (#31421) 2021-11-27 22:53:50 -06:00
kane-f
31ec6d1da2 (Revival) Mining bar (#31284)
* Starting rework of this

* Slight fix

* Fixing compile issues

* Updating more code

* More updates

* More updates

* Proper name

* Removing unused comsig file

* Fixing up map

* Makes components work

* Make this show up

* Specific type, maybe?

* Vault fixes, plus makes component actually process

* Say proc finally works with events now

* Calling in wrong registered thing

* Unneeded

* Ports hearing to hear component

* Area exit phrase for him too

* Actual event

* Testing this out for fun

* Some more

* Compiles

* Path

* Disambiguates this

* No more runtiming

* Some cleanliness

* Makes this parsing less rigid

* This too

* Much much less rigid

* This shouldn't be in this then

* Make it rotate

* Here

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-11-24 11:01:18 -06:00
DamianX
d4a4ce82d7 Optimized invoke_event (#31046) 2021-10-11 11:56:44 -05:00
DamianX
4a5f2e40a8 Ported component AI to the new component system (#30751)
* wip new component ai

* wip 2

* he lives

* fixes

* comment
2021-09-22 14:30:47 -05:00
DamianX
e4e58ada10 Fixed opening PDA uplink not closing PDA ui (#30828) 2021-09-21 14:03:39 +00:00
DamianX
95cb0d4d23 Components! TGUI uplinks! Oh god! (#30641)
* components

* tgui uplink

* Components! TGUI uplinks! Oh god!

* yeah

* this too
2021-09-09 12:44:13 +00:00
DamianX
9fc6406a87 tgui 4 (#30535)
Co-authored-by: ShiftyRail <31417754+ShiftyRail@users.noreply.github.com>
2021-09-07 16:15:19 +01:00
ShiftyRail
409ae193c2 The Postman always ring twice (#30551)
* Revert "Revert "Revert "Lights out tonight (trouble in the Heartland) (#30526)" (#30527)" (#30529)"

This reverts commit 5ae655387f.

* fixes urgent problems

* fixes the problem with zooming out

* gliding

* on the beach

* suffer not the lag

* fixes mesons and fire
2021-09-07 09:58:07 +01:00
Kurfursten
5ae655387f Revert "Revert "Lights out tonight (trouble in the Heartland) (#30526)" (#30527)" (#30529)
This reverts commit 2a0cec3fda.
2021-09-05 18:22:30 -04:00
ShiftyRail
2a0cec3fda Revert "Lights out tonight (trouble in the Heartland) (#30526)" (#30527)
This reverts commit eb21803691.
2021-09-05 17:14:55 -05:00
ShiftyRail
eb21803691 Lights out tonight (trouble in the Heartland) (#30526)
* Revert "spark machine (#30524)"

This reverts commit 7fc876a34d.

* Revert "This is why we can't have nice things (#30520)"

This reverts commit 6f7fbe95c1.

* Revert "Europa Lights 2021 - version 3 - wall shadows working edition (#30497)"

This reverts commit c03b442604.
2021-09-05 23:02:14 +01:00
ShiftyRail
c03b442604 Europa Lights 2021 - version 3 - wall shadows working edition (#30497)
* step1: compiles

* readds shadow atoms

* attempt at making spess dark

* planes fuckery

* forceMove fixes

* mouse opacity fixes

* moving to the europa light jargon

* rational brightness ranges

* re-adds moody lights

* sunglasses : compile check

* readds vampire vision

* No stacking of overlays, pt. 1/2

* makes wall shadows NOT ass

* toggle darkness

* compile

* sacrifice my firstborn to the linter gods

* test one

* uh

* europa lights mapping

* fireaxe cabinets

* Doing surgery on maps: deff

* removed herobrine

* map surgery: metaclub

* map surgery: synergy

* maps surgery, low fat bagel

* makes this compile

* more edge cases (haha)

* forgot these features

* blur: on

* wizzie den dark

* fixes the thunderdome
2021-09-05 13:54:34 -05:00
DamianX
fe77ef6e20 Converted all old events to lazy_events, removed old events, renamed lazy_event to event (#30503)
* wip refactor old events

* refactored events

* We're not lazy anymore! I mean we're still are. We just don't call ourselves that. Lazy is the new default option. It's also the only option. God, this took so long.
2021-09-04 23:21:03 -05:00
DeityLink
e229e06060 [mind UI] Soulblades HUD. Goodbye gui_icons (#30132)
* Soulblade UI

* removed deprecated dmi

* fixes

* woops, almost made soulblades good there

* :csgrad:
2021-08-05 17:47:08 -05:00
Exxion
dba1ca7b0e Revert "Europa lights 2021 (#29551)" (#29851)
This reverts commit 4c25cd6b62.
2021-06-20 22:25:47 +01:00
ShiftyRail
4c25cd6b62 Europa lights 2021 (#29551)
* Mapping changes

* code changes

* conflicts part1

* icons

* wrong remote

* box compiles

* synergy

* fix linter

* review

* Documentation

* Packed mapping

* light tiles? idk

* Metaclub. God there's a lot of lights

* Reduced power costs

* Deff mapping update

* Synergy

* Dam's review

* Damian's review part 2

* linter

* maybe fix schrodinger's lights once and for all?

* the absolute icon_state

* grammar

* nevermind

* review

* gues

* europa lights roidstation (#10)

* Lowfat bagel

* last box touches

* i'm dumb

* klh

Co-authored-by: SonixApache <SonixApache@users.noreply.github.com>
2021-06-20 14:29:59 -05:00
DeityLink
fe6a1ad4c4 Some new Safe loot (#29625)
* safeloot

* fix

* fix

* cleanup

* lazy events
2021-05-30 18:03:21 -05:00
Kurfursten
ef40ae25e4 Better Tree Transparency (#28377)
* Better Tree Transparency

* Circle and plusy

* Update flora.dm
2020-12-20 00:16:34 -06:00
adrian
71e2f218ed Hidden identity fixes (#28233)
* Hidden identity fixes

* The tests

* Sets gender on test
2020-11-26 03:40:37 -06:00
DamianX
863bf5cb59 Fixed phylactery not dusting on zlevel change, converted mind transfer to lazy event (#27787) 2020-09-13 12:04:15 -03:00
DamianX
09a73d3c59 Converted a bunch of stuff to the new thing (#27556)
* removed old on_density_change thing

* converted on_resist to lazy events

* Converted on_spellcast to lazy events

* Converted on_uattack to lazy events, breaks spell channeling

* Converted on_ruattack to lazy events, unbreaks channeled spells

* Converted on_logout to lazy events

* Converted on_damaged to lazy_events

* Converted on_death to lazy_events

* Converted on_clickon to lazy_events

* Converted on_attackhand to lazy_events, added on_bumped
2020-08-16 18:53:17 +02:00
DamianX
466d0ac3dc converted on_density_change to lazy events (#27270) 2020-07-27 07:38:41 -03:00
DamianX
133ca45654 converted on_destroyed to lazy events (#27260) 2020-07-25 21:32:08 -03:00
DamianX
85f3d3f7ad converted on_moved to lazy events (#27239) 2020-07-24 08:31:46 -03:00
DamianX
47d8ac8c6f converted on_irradiate to lazy events (#27241) 2020-07-24 08:30:48 -03:00
DamianX
1e007a1a3e Added lazy events (#27091)
* Added lazy events

* remember to compile before changing your code

* Converted on_z_transition and on_post_z_transition to lazy events

* add todo

* fix oops

* fix another oops

* and anotha one

* Moved unit tests to the proper place
2020-07-15 17:15:44 -03:00
Exxion
d3f1b8b14c Fixes a bunch of Destroy() stuff (#24088)
* Fixes a bunch of Destroy() stuff

* This too
2019-09-12 19:30:06 +02:00
Paul Ritter
9e371f3884 starting the crusade against relative pathing (#22593)
* starting the crusade against relative pathing

* new() part1

* new() part 2

* FOR VALHALLA

* you sneaky buggers

* part 5: the reckoning

* chapter 6: rejuvination

* chapter 7: age of conflict

* dammit travis
2019-04-29 13:33:46 -03:00
ShiftyRail
2bd1eee894 Re-adds revs to the rotation. (#20713)
* Progress

* Hooks

* Not cult without magic I swear

* Fixes and finishes it

* Cleanup

* Bigger text and a last to_chat(world)

* Hitler

* Update dynamic_rulesets_roundstart.dm
2018-12-03 01:59:30 -08:00
clusterfack
093643978e Makes a group jaunt spell (#11145)
* Makes a group jaunt spell

1. Adds invocation to jaunt and group jaunt
2. Creates an adminbus group jaunt spell, gives everyone jaunting for double the time of regular jaunt with a double cooldown as well in a 3 tile range
3. Group jaunting makes an image so all jaunters can see each other

* Adds hud icon

* Create event system to handle image directional updating
2016-08-12 22:28:28 -05:00
PJB3005
abd2df9960 That'll do pig, that'll do. (#10144)
* Fixes TEG processing not being synchronized.

Fixes #10034

* ugh
2016-05-21 22:33:31 -05:00
clusterfack
12d2771355 Fixes 2 spell channeling bugs
If you had multiple spells that could be channeled you could freak the system out by some convoluted combination of using each one.

While it was previously thought to be sane, not intercepting attacks after spells were cast were causing some insane behaviors, (such as picking up food after using matter eater on it), so now a spell being cast successfully will intercept attacks.
2016-05-19 03:06:18 -05:00
clusterfack
b014b30a63 Spell channeling (#10042)
* Part 2

Pmuch works

* Final part

Adding helpings to properly take charge and remove the spell channeling in certain cases like logout

* Bugfix

* This might be important too

* Addressing comments

* Removing this line

* YOU FUCKING ABSOLUTE MADMAN

* A bit of update

Drop item hotkey removes spell channeling before dropping things

* Converts matter eater to spell channeling system
Message given to dropping spell channeling with drop verb

* Modifying is valid target for matter eater

* Better animated icon
2016-05-19 00:18:42 -03:00
PJB3005
f498d5e354 Holomaps & optical material scanners! (#9311)
* theoretical holomap base code

* Sprite

* Holomaps!

* changelog

* fucking changelogs

* Stuff!

* Optical Material Scanner rework.

Makes optical material scanners work as auto-updating holomap on your
eyes.

Abstracted mesons and materials scanners to a
/obj/item/clothing/glasses/scanner subtype.

Kept typed loops.

* Changelog update.
2016-04-18 01:37:51 -05:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
D3athrow
4c60f8105c Fix #2190 - moving along an emitter beam's path, away from the source, will no longer cause you to phase through the beam. 2015-04-22 01:39:03 -05:00
Rob Nelson
ae44ec5161 BEEEAAAAMS (and atmos/supermatter stuff)
A lot of fixes that became intertwined.
- rscadd: "BEAMS!  Emitters now put out a constant beam of energy, which is far less laggy that the old bullet-based method.  They also look cooler."
- rscadd: "Prisms can combine emitter beams that multiply the damage."
- rscadd: "Infrared triggers use the same system as emitters."
- rscadd: "Burst HE pipes have their own sprite"
- rscadd: "High-performance event observers (needed for beams)"
- rscadd: "Supermatter audio alerts"
- rscadd: "Added radiation floor decals."
- bugfix: "Burst pipes are no longer baleeted by their own explosions."
- bugfix: "Pipes are given time to release pressure before the next round of pressure checks."
- bugfix: "Explosions are slightly delayed to avoid choruses of simultaneous explosions"
- bugfix: "Gas miners no longer melt."
2014-12-08 22:44:20 -08:00
Rob Nelson
c32a441e14 Shuttles and pods have their own radio station that only turns on when shuttle leaves. 2014-08-09 18:31:48 -07:00