Commit Graph

81 Commits

Author SHA1 Message Date
Anthony "Shifty Rail
189f77cbb7 Refactors player preferences for modularity + SQLite Unit Test (#37615)
* Pref code refactor

* Empty database reference

* Unit testing SQLite

* Everything else

* Disable unit testing.

* Equivalent

* more robust unit tests
2025-06-07 09:54:09 -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
Shifty
87ff336107 Final revert + HUD conflicts 2023-12-25 11:29:30 +01:00
ShiftyRail
8ff1e71883 Europa /vg/ Lights : overhaul of the lighting system!!! (#35571)
* A new dawn (#16)

* Added a toggle-able graphical blur to shadows (#30755)

* Lasers and tasers now give off light (#30613)

* Fixes some shuttle turfs being searing white (#30785)

* Fixes some shuttle turfs being searing white

* second

* parity with BE

* TGUI fixed

* beepers and holomaps

* fixes flickering

* cigs and other stuff too

* fix black squares once and for all!

* turns down postprocess

* Emergency shuttle lights

* conflict

* stoves and fireplaces

* box brig remap

* ... and it's all over now, baby blue.

* fixes lag machine

* box part 1

* better bar

* Fix light constructions

* Revert "better bar"

This reverts commit a851405f3f.

* better moving lights

* box bar mk2

* Bouncing lights

* t

* linter

* less pross mov lights

* Revert "less pross mov lights"

This reverts commit 4ff895e20a.

* smooth + gult

* Bird on the Buffalo

* check

* box

* box 2

* this doesn't work for now

* New reflections

* Rearrange temp

* testing half and half

* Rewrite the entire shadow projection from start for soft shadows.

* New Shadow Stuff

* New iteration

* Special effects fix

* more effects

* fix

* Test tiny back

* Fix holdover

* attempt at render sourcing it.

* Attempt to make lag machines less laggy

* Cheaper on the filtering too

* Solution for colour mixing problems

* mixing

* fix dorms light

* Light walls colours

* Makes wall shadows less jumpy.

* small fixes

* remove smooth_light_objs, they're not used anymore

* Part one of the possible wall shadow fix :/

* fixes wall jumpyness

* remove stuff

* undo the TGUI things

* Maps

* A new dawntest (#15)

* further round of otpimisations and fixes

* more optims

* Some optimsiations + fixes bug

* light fixtures moody lights

* some work on shadows+optimisations

* fix

* Fixes some light leaks; better lights

* fire optimisations begin

* try to fix ghosts/xray

* Optimisation + map fixes

* Box station relighting

* fix sliding shadows out of backbag

* Fixes appearing lights, re-enable life for gues and spooders

* Overdark for mobs

* Fixes byond darkness but it's a bit expensive

* try fix zzz

* Light bleeding through walls part 2

* definitive fix to flare sliding

* definitive fix to flare sliding

* FINALLY fix PDA lights

* Fixes grues dying instantly

* Light bugfixes + XRAY toggle

* Box final touches

* fixes 4 paint

* fixes wrong shadow icons

* fixes vox outpost

* Glasses, documentation, old-ass goonlights

* Box bridge one ways

* review: hub and hell universe

* missed define

* copy & paste error

* remove old world.dm status

* morgue icons?

* fix snaxi not working

* robotics light switch

* Light costs change revert

* More comments on the light range icon choices

* XRAYS sanity

* small optimisation with layers

* Europa Credit

* Bringing Nano Paint into parity with Europa Lights (#17)

* fix morgue

* documentation pass: remove unclear var names, etc

* unneeded now

* bloom fix

* fixes

* last second fixes

---------

Co-authored-by: DeityLink <logistics256@gmail.com>
2023-12-15 12:30:21 -06:00
DeityLink
00b0a84d3c Fixes AIs using their Station Holomap on other Z Levels (#34684) 2023-07-17 10:49:37 -05:00
SECBATON GRIFFON
d8c8a9bb90 Adds qdel defines (#33991)
* Adds qdel defines

* Adds qdel defines

* halfway through fixes

* rest of em

* fixes

* adds more

* list in action

---------

Co-authored-by: SECBATON GRIFFON <sage>
2023-02-10 15:01:18 -06:00
adacovsk
190f90f5f0 Change AI's see_invisible from SEE_INVISIBLE_LEVEL_TWO to SEE_INVISIBLE_LEVEL_ONE (#33030)
* level_one

* upgrade vision

* change to diamond

* Update misc.dm

* Revert "Update misc.dm"

This reverts commit 1d765142e5.

* revert

* Update misc.dm

* Update ai.dm
2022-08-17 22:51:58 -05:00
gurfan
12b68b9546 Electric Boogaloo (Take Two) (#31892)
* wall and floor and overlay icons

* HOLY SHIT PLANEMASTERS ARE AMAZING <3 LUMMOX

* nevermind shit is fucked i hate byond

* apc hackin tweaks start now

* attack_ai is overridden almost everywhere for zero reason

* more attack_ai shit

* more shit

* FORCEDISABLE pt. 1

* FORCEDISABLE pt 2

* more forcedisable 3

* 3.1

* end of forcedisable

* remove all hackview shit, cleanup

* better apc hacking, lots of fixes, and UI!

* more machine ability, lots of cleanup, radial lock updating, modules and active modules

* movable ui elements

* ADVANCED hologrmas

* more SHIT

* SHUNTSHUNTSHUNT

* fig congflgighgsa

* more testing

* fuck

* commit 2

* holo fixes

* fake APC images!

* lots of stuff

* fixes and cleanup and vomit

* More abilities. AI Control fixes and cleanup

* fixes

* fix

* clear another warning

* remove comment fix numbers

* raise price

* raise price

* fix

* 1 autoborger limit

* remove undocumented change

* handle at bot level

* order of operations

* dont call ert

* decrease

* fix unit test

* icon check please work

* remove unused icons, comment out chem dispenser drain

* comment out firewall, add disable to turrets

* remove unused wall icons

* Sort mob list, humans appear at the top

* fix sorting, fix hologram bug

* hologram tweaks, stupid fucking alert APC name

* qdel

* raise ever so slightly

* revert

* Delete broken_hand_icons.txt

* Update setup.dm

* Create setup.dm

* attack_self

* fix filter icon, delete unused file, remove forcedisable from magtape deck

* accidental change

* mousedropfrom recharge station

* oh rite

* fixo

* remove useless code

* aaahhh

* remove rig meal, made obsolete by emag

* fffffshhhhhhwooooop

* typo!
2022-01-31 18:18:06 -06:00
DamianX
c5dffbe635 Revert "Electric Boogaloo (#31728)" (#31868)
This reverts commit 8bb40feca6.
2022-01-19 15:46:18 +01:00
gurfan
8bb40feca6 Electric Boogaloo (#31728)
* wall and floor and overlay icons

* HOLY SHIT PLANEMASTERS ARE AMAZING <3 LUMMOX

* nevermind shit is fucked i hate byond

* apc hackin tweaks start now

* attack_ai is overridden almost everywhere for zero reason

* more attack_ai shit

* more shit

* FORCEDISABLE pt. 1

* FORCEDISABLE pt 2

* more forcedisable 3

* 3.1

* end of forcedisable

* remove all hackview shit, cleanup

* better apc hacking, lots of fixes, and UI!

* more machine ability, lots of cleanup, radial lock updating, modules and active modules

* movable ui elements

* ADVANCED hologrmas

* more SHIT

* SHUNTSHUNTSHUNT

* fig congflgighgsa

* more testing

* fuck

* commit 2

* holo fixes

* fake APC images!

* lots of stuff

* fixes and cleanup and vomit

* More abilities. AI Control fixes and cleanup

* fixes

* fix

* clear another warning

* remove comment fix numbers

* raise price

* raise price

* fix

* 1 autoborger limit

* remove undocumented change

* handle at bot level

* order of operations

* dont call ert

* decrease

* fix unit test

* icon check please work

* remove unused icons, comment out chem dispenser drain

* comment out firewall, add disable to turrets

* remove unused wall icons

* Sort mob list, humans appear at the top

* fix sorting, fix hologram bug

* hologram tweaks, stupid fucking alert APC name

* qdel

* raise ever so slightly

* revert

* Delete broken_hand_icons.txt

* Update setup.dm

* Create setup.dm

* attack_self

* fix filter icon, delete unused file, remove forcedisable from magtape deck

* accidental change

* mousedropfrom recharge station

* oh rite

* fixo

* remove useless code

* aaahhh
2022-01-19 08:15:08 -06:00
Exxion
ad228795b0 Approximately the same (#31468) 2021-11-29 13:18:06 +01:00
Exxion
685bda3397 AIs can right click again (#31415)
* AIs can right click again

* Forgot this

* Cleanup
2021-11-26 13:24:58 +00:00
Shifty
7be042441a the meat of it 2021-09-18 14:25:35 +01:00
ShiftyRail
7575865e3f fixes AI freelook not working (#30635) 2021-09-08 09:42:27 +01:00
ShiftyRail
69eeee4714 Fixes handtele crashing the server (#30591) 2021-09-07 15:02:58 +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
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
jknpj
9ba3ee467c removes cheese (#29587) 2021-05-30 13:45:50 -05:00
SonixApache
2bc700b001 AI holopad overlays verb (#26960)
* holopad overlays verb

* active holopad overlay
2020-07-19 10:42:01 -03:00
Kurfursten
cdbcb1e858 AI Jump Buttons for Snaxi (#25565)
* AI Jump Buttons for Snaxi

* Some fixes
2020-01-04 07:29:36 -03:00
DeityLink
213bc26c6a Station Holomap update (+PDA app parity) (#21758)
* HoloMapV2

* sigh

* even better

* fdsggfezs

* fdgfdgfdgfd

* dsfdsfdfsddsfdsfdfdsfds this is a broken man

* sdqdqsqds of to a new day

* sdqsdsqdqs done

* fix
2019-02-24 11:05:58 -03:00
Pathid
d6a67266e3 Fixes camera lights not updating during tracking (#19352)
* Fixed camera lights not updating during tracking

* Don't need to call light_cameras() twice
2018-08-17 13:23:46 +02:00
I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE
8d5f78b8b0 Smooth movement for simple mobs, bots, ventcrawling, singulo, mechs, and motor wheelchairs (#19196)
* Smooth movement for mech eye

* Arguments for ForceMove

* Smooth motor wheelchairs

* Smooth ventcrawling eye

* Singularity uses smooth novement

* Simple mobs and simple bots use smooth movement
2018-08-08 17:56:35 -03:00
Pathid
3bdaf9735d Fixed AI-eye runtime (#18456) 2018-06-08 17:34:23 -03:00
jknpj
6a85d46c85 Fixes a goof in AI Click() code (#17394)
* Fixes a goof on AI code

* updates comment

* actually fuck that
2018-02-09 11:29:35 -08:00
DrCelt
d66cb2decd fixes runtime in eye.dm when spawning/making a new uninhabited AI (#17324)
![](https://i.imgur.com/ip0UWCe.png)
also does a very minor amount of cleaning.
2018-02-06 22:31:38 -03:00
MadmanMartian
23371fbb73 fixes things not pulling/moving properly (#17058)
* fixes things not pulling/moving properly by giving them the proper arguments that were expected

* removes hitlers
2018-01-10 15:09:13 +01:00
EdXbtkOEwGw
35f01132ac Makes everything smooth as a pomf's behind. (#17044)
* Mostly working

* This seems to work

* Better glidesize calculation, implements it on a lot of shit

* ZAS and bump

* Smooth scoot
2018-01-09 09:42:13 -08:00
DamianX
388a122137 Removed some useless onclick oldcode (#16893)
* Removed unneeded AI tracking code

* useless oldcode
2017-12-31 11:06:06 +01:00
Shadowmech88
0fe6d3b653 Future Grenades (#13519)
* Adds future grenades.

* Fixes conflicts.

* Indents see_fall() loops.

* Default range argument.

* /mob/dview now ignores send_to_future()

* AI eyes, observers, and the nuke disk are now timeless.

* Blob overminds are now timeless.
Objs are now nullspaced upon being sent to the future, just to ensure they're not damaged by anything in the present.

* Allows mobs deafened by the grenade's effect to still hear the sound it makes when it ends.
2017-01-28 09:32:08 -05:00
BobdaBiscuit
810ca7323e Adds "Pause after first step" functionality to integrated pAI bots and the AI Eye (#13653)
* adds stumble functionality to pais

* better lastmovement setting

* adds stumble to the AIeye
2017-01-27 08:20:23 -05:00
ComicIronic
b35eaa65d8 Replaced loc setting with forceMove. (#11490)
* Replaced loc setting with forceMove.

* Update forceMove to permit moving to null loc.

Also fixed atom locking with offsets not following properly.
2016-08-29 06:40:45 -05:00
clusterfack
e1fc7f692f Fixes virtualhearers sight flags (#11544)
Adds a wrapper proc for changing sight flags

When sight flags are changed, it checks if the sight flags have actually been changed and then if so modifies the virtualhearer's sight flags.
2016-08-23 09:32:16 -05:00
JustSumBody
0524390355 Allows AIs to see visible actions through cameras (I broke smartgit) (#11151)
* Allows AIs to see visible actions through cameras

* changelog

* high res need to fix flag

* high_res and flags

* Atom level proc honestly just remove istype tbh

* hi,res 2.0

* Internal conflicts

* Make malf great again

* Gee AI how come you get to have two News

* actually this isn't necessary also remove removing src
2016-08-02 21:15:33 -05:00
JustSumBody
65c1ccdd75 Restores lipreading functionality to malf hi-res cameras (#11056)
* Fixes hi-res cameras for malf AI

* changelog

* fixes rendered speech case
2016-07-18 08:18:35 -05:00
unid15
066e8680aa fix for AI photography 2016-02-19 12:18:10 +01:00
PJB3005
1a2f9ab059 All the EOLs are now LF.
Fuck you too 0D :^)
2016-01-16 23:28:07 +01:00
Sood
3177b3af13 Reverted admin debug changes, nulled references after qdels 2015-12-06 15:11:57 -08:00
Sood
3cdf89b675 qdel replacing del, time for bugs 2015-12-06 15:11:15 -08:00
PJB3005
99bf59d80e Adds a to_chat() proc, to pave the way to a non shit chat. 2015-11-25 15:55:15 +01:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
Rob Nelson
ec3c43fd37 Merge branch 'Bleeding-Edge' of github.com:d3athrow/vgstation13 into tcomms-rework
# Conflicts:
#	code/modules/mob/living/carbon/species.dm
#	vgstation13.dme
2015-10-09 11:15:14 -07:00
Rob Nelson
3ca2cfcf8b More work on Saycode, add graphical documentation. 2015-10-08 02:09:12 -07:00
PJB3005
72a9b17ba5 Anchors the AI eye. 2015-10-07 01:52:51 +02:00
PJB3005
6889d33943 Fixes the AI having X-RAY vision even when not viewing through the eye mob.
Fixes #117
2015-08-30 17:37:44 +02:00