Commit Graph

15570 Commits

Author SHA1 Message Date
MagmaRam
cc3092859a Merge pull request #3344 from Anewbe/ion_holster
Adds ion pistol to uplink, allows holstering
2017-04-22 08:10:28 -05:00
Anewbe
28c4d5a4d8 Stimm recipe changed 2017-04-21 22:05:14 -05:00
Anewbe
a4d9db202b Allows ion pistol on the belt. 2017-04-21 19:24:06 -05:00
Leshana
30d2f16b04 Replace color macros and stream operator with style and to_chat 2017-04-21 11:22:08 -04:00
comma
f614de8387 Updates cable construction
FOrgot to update it to new direction whoops.
Also makes powernet connectino proc for cables multiz aware.
Port of: https://github.com/Baystation12/Baystation12/pull/15940
2017-04-21 11:22:07 -04:00
comma
5f2d23fbd7 Makes cable use BYOND directions
Instead of 11,12 they use 32,16 for DOWN,UP
Merges multiz handling into main logic
Port of: https://github.com/Baystation12/Baystation12/pull/15907
2017-04-21 11:22:07 -04:00
Neerti
151ffe0038 Merge pull request #3291 from Anewbe/carp_lag
Kills carp lag
2017-04-20 23:42:29 -04:00
Anewbe
59a19f7197 Merge pull request #3330 from VOREStation/footstep-sounds
Implements footstep sound system and adds sounds to various floor types.
2017-04-20 21:10:28 -05:00
Anewbe
e17eccae93 Adds ion pistol to uplink, allows holstering 2017-04-20 20:04:21 -05:00
Neerti
31724dbb5a Should fix a holser runtime. 2017-04-20 19:55:29 -04:00
Neerti
baac0efffb Merge pull request #3266 from Anewbe/scratch_damage
Armor soak now caps at 80% of incoming damage
2017-04-19 23:33:30 -04:00
Cerebulon
1281c75a14 murdered a comma 2017-04-19 23:59:40 +01:00
Cerebulon
fc974f1dd9 Removed missed bit of sprite code in luchador masks. 2017-04-19 23:55:12 +01:00
Cerebulon
15cac2752b Moved spritesheet code to base mask item. Fixed captain's helmet. Cleaned up all duplicate/misnamed rig helmets. 2017-04-19 23:52:52 +01:00
Arokha Sieyes
0fe43a1f2b Removes all the hard references to computer.dmi
I assume these were all lazy copy-pasting. We're changing computer icons to another set in a file we'll keep separate, and these completely pointless references are annoying. They should inherit this from the `/computer/` level, which they do. Has no effect on Polaris, but cleans up code that shouldn't exist.
2017-04-19 16:54:16 -04:00
Anewbe
d7b347c4c9 Merge pull request #3333 from Neerti/4/18/2017_modifier_system_and_lings
Adds Modifier System, Changes Some Ling Stuff
2017-04-19 13:29:21 -05:00
Neerti
4378fc0812 Merge pull request #3295 from Anewbe/lever_action
Adds a lever-action rifle
2017-04-19 13:58:37 -04:00
Anewbe
28caa29467 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into scratch_damage
# Conflicts:
#	code/modules/mob/living/carbon/human/human_defense.dm
2017-04-19 12:55:11 -05:00
Neerti
e951ff344e Merge branch 'master' of https://github.com/PolarisSS13/Polaris into 4/18/2017_modifier_system_and_lings 2017-04-19 13:47:57 -04:00
Anewbe
bf7dce79cc Unathi mechanical changes (#3256)
* Unathi changes

* Tweaks blurb

* Alcohol tweaks

* Age tweak

* Slowdown

* Adds Unathi to the codex

* Fixes Unathi Organs, adds sprites

* Fixed the changelog

* Sprite and language tweaks, Unathi
2017-04-19 13:42:51 -04:00
LorenLuke
8ed7b72aed Splits item check back into mob-specific procs. 2017-04-19 10:10:56 -07:00
Anewbe
93b52c138a Merge pull request #3308 from LorenLuke/Changeling-Respec
Tweaks Changeling Respecs
2017-04-19 10:32:13 -05:00
Anewbe
2306d3726e Merge pull request #3325 from LorenLuke/Silenced-Notification
Silenced Weapons tell firer when fired
2017-04-19 10:30:30 -05:00
Anewbe
9d2df21777 Merge pull request #3328 from Neerti/3/14/2017_makeshift_armor
Adds Makeshift Armor
2017-04-19 10:13:20 -05:00
Cerebulon
dd3ed474fe Added code for effected mask sprites, fixed remainder of mask sprites. 2017-04-19 04:31:25 +01:00
Neerti
ea6128f986 Adds Modifier System, Changes Some Ling Stuff
Adds a fairly simple system that allows adjusting various numbers like max health, incoming damage, outgoing melee damage, etc.  The nice part is that changing certain variables this way (like max health) is a lot safer than manually setting the max health var directly.
Changes a lot of short lines of code to point towards a variable's getter or setter helper instead of reading the var directly so the modifiers can work.
Endoarmor, delayed toxin sting, Enfeebling sting, and recursive adrenaline overdose now use the modifier system.
Enfeebling sting now only lasts two minutes, from five minutes, however it now also reduces the victim's melee damage by 25%/50%, and increases the damage they suffer by 10%/35%, for normal and recursive respectively.
Delayed Toxin Sting's effects are now felt all at once instead of over the course of a few minutes.
2017-04-18 21:23:59 -04:00
Arokha Sieyes
d00c5941ca Controllerized Planets
Controller with deferrals and SCHECKs to be specific. Won't lag while updating the sun, weather, or temperature.

Also moved some vars around. Namely the planet walls are stored on the planet, not in the weather_holder.

Planets now have their own turfs, the controller 'gives' them to the planets each cycle if there are any unallocated turfs in the global lists, to avoid iterating over other planets' turfs if you have more than one, then cuts the lists if you were crazy and some turf added some invalid type. This saves us type-checking in the for() loops later to make them crunch faster. The former operation should only happen once at the start of the game (and maybe very rarely when turfs are added/removed from a map during the game).

With regards to the temperature updates, rebuilding the zone entirely is an intensive operation. Instead we can use this new cheaty proc to do it from over here. ZAS code outside ZAS oh noooo. Well, the option is to snowflake this case into ZAS which is maybe worse?

Only downside to all this is that if you manually set weather and time it might take between 1-60 seconds for the controller to get around to checking if you wanted to update it. That's not that big a deal. If you really want you can now debug that controller and call doWork on it.
2017-04-18 20:08:22 -04:00
Leshana
1987439151 Reduce footstep volume if walking or barefoot. 2017-04-18 18:09:45 -04:00
Anewbe
075cc0dde4 Merge pull request #3324 from VOREStation/port-bay-multiz-fixes
Ports a few fixes to multi-z and related code from Bay
2017-04-18 14:20:16 -05:00
Leshana
9a7dda1ad1 Implements footstep sound system and adds sounds to various floor types.
* Adds system for turfs to have "footstep sounds" that play when someone walks over them.
* Adds system for floor types (the kind of turfs where you can put tiles on them) to support the footstep sounds.
* Adds sounds to plating, tiles, wood, and carpet floor types.
* Footstep sound system is configurable in game_options.txt, it can be turned off completely or the volume adjusted.
2017-04-18 11:33:44 -04:00
Anewbe
ecb89d87b3 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into scratch_damage 2017-04-18 09:34:32 -05:00
Neerti
6bd0f8742e Finished coding makeshift armor. 2017-04-18 03:16:10 -04:00
LorenLuke
1f0264f68b Adds range/small message to notification. 2017-04-17 19:41:17 -07:00
Anewbe
46d447e478 Merge pull request #3326 from Cerebulon/techoriginsfix
Fixes improperly formatted tech_origins
2017-04-17 20:57:28 -05:00
Anewbe
b00897fb15 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into scratch_damage 2017-04-17 16:49:10 -05:00
Anewbe
8d8eaaa1b1 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into thermals 2017-04-17 16:46:10 -05:00
Cerebulon
843a59ca07 Fixes improperly formatted tech_origins for hatchet, scythe, reinforced glass, mechanical trap, kitchen utensils and kitchen knife. 2017-04-17 19:31:01 +01:00
LorenLuke
c28d8738aa Silenced Weapons tell firer when fired. 2017-04-17 10:34:40 -07:00
Leshana
ff3c5238aa De-snowflake thrown objects hitting turfs.
* Port of https://github.com/Baystation12/Baystation12/pull/16942
* Actually tell turfs when a thrown object hits them, and let them decide what to do about it!
  * We do this by calling hitby(), which is how it already works for obj and mob, so this makes behavior consistent.
* This allows us to cleanly solve the problem of a thrown object landing on open space without falling.
2017-04-17 13:13:40 -04:00
Leshana
b5dbe8492c Fix crash in turbolifts built on any z-level other than "1"
Port of https://github.com/Baystation12/Baystation12/pull/16941
* Turbolift auto-mapping code assumed that all lift's first floor would be on z=1.  Fixed so it picks the first floor instead of the zth floor from the floor list.
2017-04-17 13:13:39 -04:00
MagmaRam
cff6fc4150 Merge pull request #3313 from Anewbe/halt_fix
Sorta fixes the syntax on the *halt emote
2017-04-17 11:26:46 -05:00
Leshana
95b9dde94a Multi-Z code formatting and utilities.
* Global procs should start with /proc
* Use to_chat() macro
* Added utility to find all z-levels are connected (transitively adjacent) and utility to test if two levels are connected.
2017-04-17 11:57:49 -04:00
PsiOmegaDelta
663e2b2d4c Can no longer move up/down from non-turf locations.
Port of https://github.com/Baystation12/Baystation12/pull/16653/
2017-04-16 21:33:16 -04:00
Leshana
b9dd5233a6 Fix mining turfs permenently unlit.
* Mining turfs generated during random mapgen get their opacity changed
without a call to recalc_atom_opacity() becuase the game ticker has not
started.  Make sure we call it even before that point.
2017-04-16 14:46:09 -04:00
Neerti
d09cc7a57d Merge pull request #3306 from Anewbe/markings
Makes two more markings Taj only
2017-04-16 10:26:16 -04:00
Neerti
22c329e906 Merge pull request #3305 from VOREStation/aro-pol-planets
Make planets more generic
2017-04-16 01:30:55 -04:00
Neerti
c91d8cc767 Merge pull request #3273 from LorenLuke/Numpad
Allows usage of ctrl+numpad for target zone selecting.
2017-04-16 00:40:15 -04:00
Neerti
6d60fb7cd6 Merge pull request #3276 from Anewbe/bloodloss_tweak
Weakens bloodloss from burn damage
2017-04-16 00:16:40 -04:00
Anewbe
1fbef2de5b Merge pull request #3286 from VOREStation/smooth-lighting
Port tg/paradise/goon soft-edge lighting
2017-04-15 22:52:42 -05:00
Anewbe
f4444f2dad Sorta fixes the syntax on the *halt emote 2017-04-15 20:35:17 -05:00