Heroman
348f184abb
Fixes a pair more things
2022-09-07 17:12:37 +10:00
C.L
a619121abe
More light updates!
...
- Changes how lights function. Instead of lights being qdel'd when you take them in/out of light sockets, it now holds them _in_ the light socket! (Due to this change things have been thoroughly tested, numerous bugs squashed which arose due to this change, and then tested again.)
- Makes it so overlays update properly on lights
- Makes it so light colors persist, even if you turn an alarm off & on again (previously reset the light to normal)
- Made it so nightshift properly updates the overlays of lights.
- Updated the light replacer to swap lights in a more efficient way
- Makes it so light replacers can set the color of the lights being inserted. (This only affects the daytime lights. For more complex changes, a multitool is required.)
2022-09-05 15:47:46 -04:00
Casey
aa40f0411c
Merge pull request #13660 from Cameron653/NO_CRASHING
...
Bugfix Palooza
2022-09-04 17:51:20 -04:00
C.L
af3ead288c
Allows light manipulation via multitool.
2022-09-03 23:01:50 -04:00
C.L
cfa3869fd1
Fixes lights not properly becoming the right color w/ emergencies
2022-09-03 21:44:28 -04:00
Novacat
1aa4c73e8d
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
2022-08-27 08:49:56 -04:00
MistakeNot4892
d717a4b50a
Merge branch 'master' of https://github.com/VOREStation/VOREStation into upstream-merge-8298
2022-08-25 14:26:20 +10:00
VerySoft
865777bcbe
That nice glow
...
Makes it so the lights have an overlay so the light part is bright even if the lighting around it is poor
2022-07-03 19:18:47 -04:00
Killian
91d39da943
new->init refactor
2022-02-20 19:32:23 +00:00
MistakeNot4892
3f9af78f3a
/atom New() => Initialize() [MDB IGNORE]
2021-11-14 03:09:51 -05:00
MarinaGryphon
577b986ba6
Convert some bools to TRUE/FALSE instead of 1/0. ( #11100 )
...
Co-authored-by: Aronai Sieyes <arokha@arokha.com >
2021-07-16 13:43:25 -04:00
Aronai Sieyes
b71c7e7271
Use material defines more
2021-07-03 18:18:05 -04:00
Aronai Sieyes
a8f228bc02
Maybe fixes heroman's complaint
2021-06-21 21:48:01 -04:00
Aronai Sieyes
05fc5d3758
Fix requested things
2021-06-17 23:52:39 -04:00
Aronai Sieyes
db14882664
Port tg lighting system
...
Also converts planet lighting to a new system
Too hard to separate out from this PR
2021-06-17 00:18:09 -04:00
Aronai Sieyes
89a2043edc
Fix some sources of sounds in /New
2021-05-31 20:16:07 -04:00
Rykka
d2fb9a7691
Rebase onto Master for Volume Control Panel, Squash Commits
2020-08-27 19:47:38 -04:00
Aronai Sieyes
09074eaabb
Alter playsound paradigm
2020-05-18 23:42:15 -04:00
Aronai Sieyes
132ace7ab5
Optimize lighting processing
2020-05-13 12:16:01 -04:00
Aronai Sieyes
a7f9557109
Increase nightmode brightness slightly
2020-05-06 10:35:25 -04:00
Aronai Sieyes
aa6d22097b
Port SSnightshift from Paradise
...
Makes the station have a night mode.
2020-05-03 17:51:05 -04:00
Aronai Sieyes
6ebd249748
Rewrite examine() to pass a list around
2020-04-29 16:42:50 -04:00
Leshana
9bd2347966
Fix remaining code that directly modified use_power to call update_use_power.
2020-04-22 20:47:15 -04:00
Leshana
93fb3f7865
Call update procs instead of directly setting idle_power_usage or active_power_usage.
...
- Adds the update_idle_power_usage() and update_active_power_usage() procs for the respective vars.
- Switches all places modifying those vars directly to call the procs instead.
- This will let us react to the change appropriately, paving the way towards static area power.
- Adds update_power_channel proc for the sake of completeness, but no machines actually modify it so far.
2020-04-22 20:47:15 -04:00
Atermonera
5c03273ce8
Merge pull request #6884 from Neerti/event_system_fix
...
Rewrites the Rewritten Event System
2020-04-06 16:23:39 -04:00
Atermonera
cbb40196fc
Machinery: Always use update_use_power()
2020-03-23 23:21:10 -04:00
Novacat
90e6e1fea2
Update lighting.dm
2020-03-21 16:47:52 -04:00
Atermonera
9f250ce3c9
Emergency lighting
2020-03-21 16:39:36 -04:00
Heroman
bab3ae66dd
Reduces power consumption of active lights
2019-08-14 16:50:30 +10:00
Andrew
e4deaa6478
Combat Mechs Can Punch More Things ( #6303 )
...
* Combat Mechs Can Punch More Things
Removes the var to check for the 5 things it can attack, instead it can punch anything (but not everything will take damage).
Gives punching objects a check so you don't accidently smash something without meaning to.
Gives closets and canisters a proc to take_damage so they'll actually get smashed by the mechs.
* Take_Damage Boogaloo
* More take_damage Stuff
Adds click delay on attacking barriers.
Proper noises when attacking material doors and barricades.
More stuff can be broken by mech punch and simple mobs.
* Adds changelong
* usr to user
2019-07-24 17:00:24 -04:00
Anewbe
b820ac6844
Merge pull request #6246 from Heroman3003/lightfix
...
Fixes construction of lights
2019-06-30 19:40:15 -04:00
Unknown
f1d61de589
Buffs Lights post-light changes
2019-06-18 21:20:06 -04:00
Novacat
d9db3676eb
GRUMBLE GRUMBLE CODE STANDARDS GRUMBLE GRUMBLE
2019-06-18 20:33:21 -04:00
Novacat
0c5e7c5de6
Update lighting.dm
2019-06-18 20:01:52 -04:00
Novacat
03a3944f36
An assortment of Lighting Stuff
2019-06-18 19:57:40 -04:00
Neerti
30b967e28a
Items are now assumed to be conductive, rather than the opposite
2019-03-28 21:45:38 -04:00
Neerti
60f88039ea
Adds several new map/event oriented objects
2018-12-07 18:49:01 -05:00
Arokha Sieyes
b099ac6e4c
Merge branch 'master' of https://github.com/VOREStation/Polaris into sync-09272018
...
# Conflicts:
# code/__defines/holomap.dm
# code/__defines/mobs.dm
# code/_helpers/icons.dm
# code/_helpers/unsorted.dm
# code/_onclick/hud/hud.dm
# code/_onclick/item_attack.dm
# code/controllers/Processes/supply.dm
# code/controllers/subsystems/planets.dm
# code/datums/supplypacks/munitions.dm
# code/datums/supplypacks/science.dm
# code/datums/supplypacks/security.dm
# code/datums/supplypacks/supply.dm
# code/game/area/Space Station 13 areas.dm
# code/game/atoms_movable.dm
# code/game/machinery/autolathe.dm
# code/game/machinery/doors/door.dm
# code/game/machinery/jukebox.dm
# code/game/machinery/recharger.dm
# code/game/machinery/vending.dm
# code/game/mecha/equipment/tools/medical_tools.dm
# code/game/mecha/equipment/weapons/weapons.dm
# code/game/objects/items/devices/PDA/PDA.dm
# code/game/objects/items/devices/megaphone.dm
# code/game/objects/items/poi_items.dm
# code/game/objects/items/weapons/implants/implantlanguage.dm
# code/game/objects/items/weapons/storage/firstaid.dm
# code/game/objects/items/weapons/tools/weldingtool.dm
# code/game/objects/structures/flora/trees.dm
# code/game/objects/structures/plasticflaps.dm
# code/game/supplyshuttle.dm
# code/game/turfs/simulated/wall_attacks.dm
# code/modules/admin/admin_verbs.dm
# code/modules/assembly/infrared.dm
# code/modules/client/client procs.dm
# code/modules/client/preference_setup/loadout/loadout_utility.dm
# code/modules/client/preferences.dm
# code/modules/clothing/suits/miscellaneous.dm
# code/modules/holomap/holomap_datum.dm
# code/modules/holomap/station_holomap.dm
# code/modules/integrated_electronics/core/printer.dm
# code/modules/mining/machine_processing.dm
# code/modules/mob/living/carbon/human/human_defense.dm
# code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm
# code/modules/mob/living/death.dm
# code/modules/mob/living/silicon/ai/ai.dm
# code/modules/mob/living/silicon/pai/pai.dm
# code/modules/mob/living/silicon/robot/robot.dm
# code/modules/mob/living/simple_animal/animals/parrot.dm
# code/modules/mob/mob_movement.dm
# code/modules/organs/organ_external.dm
# code/modules/organs/organ_icon.dm
# code/modules/organs/subtypes/standard.dm
# code/modules/planet/weather.dm
# code/modules/power/cable.dm
# code/modules/power/fusion/core/core_control.dm
# code/modules/power/fusion/fuel_assembly/fuel_control.dm
# code/modules/power/fusion/gyrotron/gyrotron_control.dm
# code/modules/projectiles/gun.dm
# code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm
# config/names/first_name_skrell.txt
# config/names/last_name_skrell.txt
# icons/mob/head.dmi
# icons/mob/robots.dmi
# icons/mob/species/tajaran/helmet.dmi
# icons/obj/ammo.dmi
# icons/obj/gun.dmi
# icons/obj/mining.dmi
# icons/obj/projectiles.dmi
# icons/obj/rig_modules.dmi
# icons/obj/surgery.dmi
# icons/turf/walls.dmi
# maps/southern_cross/southern_cross-1.dmm
# maps/southern_cross/southern_cross-3.dmm
# maps/southern_cross/southern_cross-6.dmm
# maps/southern_cross/southern_cross-8.dmm
# maps/submaps/surface_submaps/mountains/backup/IceCave1.dmm
# maps/submaps/surface_submaps/mountains/backup/IceCave1A.dmm
# maps/submaps/surface_submaps/mountains/backup/IceCave1B.dmm
# maps/submaps/surface_submaps/mountains/backup/IceCave1C.dmm
# maps/submaps/surface_submaps/mountains/crashedcontainmentshuttle.dmm
# maps/submaps/surface_submaps/mountains/deadspy.dmm
# maps/submaps/surface_submaps/mountains/mountains_areas.dm
# maps/submaps/surface_submaps/plains/Thiefc.dmm
# maps/~map_system/maps.dm
# vorestation.dme
2018-09-27 18:01:09 -04:00
Anewbe
c2794c571d
Hopefully fixes some tool-conversion things
2018-08-03 15:13:29 -05:00
Anewbe
729ce71aa0
Converts most istype(thing,tool) procs into an appropriate thing.is_tool() format
2018-08-02 21:45:15 -05:00
Arokha Sieyes
4ff48da96a
SYNC: Map changes for lighting
2018-05-30 00:56:12 -04:00
Arokha Sieyes
c0c091ed4a
Merge branch 'master' of https://github.com/PolarisSS13/Polaris into aro-sync-05-29-2018
...
# Conflicts:
# code/modules/power/lighting.dm
# icons/turf/walls.dmi
2018-05-29 21:05:27 -04:00
deathride58
09a4cab10f
Bumps up the brightness range just a tad to accommodate for the low density of lights aboard the station
2018-05-17 12:17:52 -04:00
deathride58
718ca41ea0
tweaks a bunch of lighting values. reduces the amount of light_power values greater than 1
2018-05-16 01:42:01 -04:00
Leshana
862f1eff44
Override Polaris change: keep our light power usage the same as it was
2018-05-10 13:48:54 -04:00
Leshana
33202c5c38
Merge commit '7075a65df022bc0eae0c3fe6ff501b1bce449cdd' of https://github.com/PolarisSS13/Polaris into polaris-sync-2018-05-01
...
# Conflicts:
# code/modules/mob/living/simple_animal/animals/giant_spider.dm
# html/changelogs/.all_changelog.yml
2018-05-10 13:48:20 -04:00
Mechoid
9dda8cfe92
Power cost decrease on Lights and Shield Diffusers
2018-04-29 20:11:20 -07:00
Leshana
8c3e41a705
Small fixes and ports discovered during merge. ( #5138 )
...
* POLARIS: No string compare for assistants
* POLARIS: Move these planes to more useful places
* POLARIS: Only spam ghosts with chat messages from things with real clients
* Fix small forgotten lines of text accidentally left out of VS syncs.
* Fix typo'd plane in lighting.dm and remove redundant definitions.
2018-04-04 17:35:15 -07:00
Leshana
88c4ca0246
Fix light/camera layers for macros and fix constants for them too.
2018-04-01 16:29:52 -04:00
Leshana
6756c5a483
Merge branch 'master' of https://github.com/PolarisSS13/Polaris into polaris-sync-2018-03-30
...
# Conflicts:
# .travis.yml
# code/ATMOSPHERICS/components/unary/outlet_injector.dm
# code/__defines/_planes+layers.dm
# code/__defines/chemistry.dm
# code/__defines/mobs.dm
# code/_helpers/mobs.dm
# code/_onclick/hud/robot.dm
# code/game/area/areas.dm
# code/game/machinery/computer/supply.dm
# code/game/machinery/cryopod.dm
# code/game/machinery/doors/airlock.dm
# code/game/objects/items/devices/communicator/UI.dm
# code/game/objects/items/devices/communicator/messaging.dm
# code/game/sound.dm
# code/game/supplyshuttle.dm
# code/game/turfs/flooring/flooring_decals.dm
# code/modules/admin/admin.dm
# code/modules/client/preference_setup/occupation/occupation.dm
# code/modules/events/event_container.dm
# code/modules/mob/dead/observer/observer.dm
# code/modules/mob/language/language.dm
# code/modules/mob/living/carbon/human/human.dm
# code/modules/mob/living/carbon/human/human_powers.dm
# code/modules/mob/living/carbon/human/life.dm
# code/modules/mob/living/carbon/human/species/species_shapeshift.dm
# code/modules/mob/living/living.dm
# code/modules/mob/living/living_powers.dm
# code/modules/mob/living/say.dm
# code/modules/mob/living/simple_animal/animals/bear.dm
# code/modules/mob/living/simple_animal/animals/cat.dm
# code/modules/mob/living/simple_animal/animals/parrot.dm
# code/modules/mob/logout.dm
# code/modules/mob/mob_helpers.dm
# code/modules/organs/organ.dm
# code/modules/organs/organ_icon.dm
# code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm
# code/modules/reagents/reagent_containers/syringes.dm
# code/modules/shuttles/shuttle.dm
# html/changelogs/.all_changelog.yml
# maps/RandomZLevels/wildwest.dm
# maps/southern_cross/items/clothing/sc_head.dm
# maps/southern_cross/southern_cross-1.dmm
# vorestation.dme
2018-03-31 09:20:59 -04:00