Commit Graph

419 Commits

Author SHA1 Message Date
Joan Lung bdcb16113a Adds a few turf istype helpers (#20754)
* a very calming act
when the world is too much, too fast

* i'm tired
but i have to be efficient, infinite

* lick your lips at the sight of me
a fantasy made reality
2016-10-01 19:25:46 +02:00
phil235 194398cbbd Merge branch 'master' of https://github.com/tgstation/-tg-station into PreliminaryDamageRefactor
# Conflicts:
#	code/game/gamemodes/miniantags/bot_swarm/swarmer.dm
#	code/game/objects/effects/portals.dm
2016-09-29 01:44:27 +02:00
phil235 2d2975f783 Some preliminary changes before the damage refactor PR. The changes here do absolutely nothing gamewise.
This just adds some vars that the refactor will use. Putting this in a separate PR prevent the damage refactor PR from becoming too big (number of files changed) and hard to read and review.

Introduces the resistance_flags bitflag that replaces unacidable and burn_state.
Moves the armor var from item to /obj level and gives specific armor values to many objects, the armor list also gets two new armor types: fire and acid, which will be used in the refactor. the new fire and acid armor values are given to plenty of items.
2016-09-27 22:33:08 +02:00
phil235 6809603669 Changes obj/effect/blob,spider,swarmer,energy_net,spacevines to be ob/structures instead, since you can hit and destroy them.
Adds a large ash and large molten item decal (for future use)
simplifies decal/cleanable/replace_decal() code a bit.
Changes construction() proc to on_construction() for consistency, same for deconstruction().
Made a deconstruct() proc for machinery and computer (also for future use).
2016-09-27 19:58:27 +02:00
oranges 88e7caedb5 Merge pull request #19507 from ChangelingRain/itsimaginablebutitdoesntexistanywherenotanyplanetwereadreamwerebecomingpeoplenootherpeoplehaveeverbeenahumanthathumansarenot
Singularities, but not gods, are now stronger than shuttles
2016-07-28 19:46:26 +12:00
MrStonedOne 6d5ee15997 Shuttle dock detection, added system to box, admin var edit support 2016-07-27 21:49:42 -07:00
Joan Lung 8e4df5607b Singularities, but not gods, are now stronger than shuttles 2016-07-26 09:18:41 -04:00
Kyle Spier-Swenson 4a50869c11 Increases shuttle delay to 5.5+10 seconds (#19347)
1+5 seconds was super lame.

The delays had code related reasons, call time at the least shouldn't ever be below 10 seconds without editing the animation for the hyperspace ripples.

The ignition time is designed to make reserving transit space easier, and if it is ever full, ignition time rate limits how often it attempts to reserve transit space.

There isn't actually enough transit space for all of our shuttles (because their doesn't need to be 99% of the time) but with a call time only 1 second, the syndicates, the miners, security/gulag, people using the white ship, and admins could all spam call their related shuttles and then now you have a case where 1 or 2 shuttles are calling the proc to check for transit space every minute. add on the escape shuttle docking and cargo shuttle docking at that moment, and that number could jump to 4 shuttles trying to reserve transit space every minute, all needlessly.

Also, https://tgstation13.org/phpBB/viewtopic.php?f=10&t=7286&view=unread#p195824 points out that having ignition time too long causes issues. I'd want there to be enough time that when we make ignition more apparent, there is actually time react.
2016-07-18 15:49:57 +12:00
KorPhaeron 251b2dc372 Shortens shuttle time from 25 to 6 seconds 2016-07-13 21:20:30 -05:00
Joan Lung 71da2aba13 Fixes shuttles killing AI camera eyes (#19280)
* this wasn't even my bug but because mso was an ass I fixed it for him

* spitefronds
2016-07-13 12:50:20 +12:00
coiax 771c64084d Shuttle SS keeps track of hostile environments (#19235)
* Shuttle SS keeps track of hostile environments

Instead of changing SSshuttle.emergencyNoEscape manually, datums now
register and clear themselves with the SS, and a hostile environment is
if any datums are registered.

Note that it's datums that can be registered, as rev and blob gamemodes
register themselves.

Overhauling this means that you can have multiple sources of no-recall,
which although can't happen at present, may do so in the future whenever
multi-antag rounds happen.

🆑 coiax
tweak: The AI doomsday device timer is more accurate.
fix: Fixes a bug where the doomsday device would take twice as long as
it should.
/🆑

AI doomsday timer uses world.time, uses fastprocess to make sure the
announcements go out on time, added observer countdown for
the AI doomsday device.

* Fixes bugs
2016-07-11 16:53:23 +12:00
coiax 43e78b8e5e Shuttle bombs now make transit space turfs (#19171)
🆑 coiax
fix: Damage to a shuttle while it is moving will now correctly make
transit space turfs, rather than non-moving space.
/🆑

This also makes explosions on lavaland more sane. The mining shuttle
exploded while on lavaland will make ordinary rock, while the gulag
shuttle will expose lava.
2016-07-07 08:04:54 -04:00
Jack Edge bb110a004d Remove transit when not in use
Now with pretty colors!
2016-07-02 21:29:29 +01:00
Jack Edge 042caf0c2a Cargo shuttle now works again 2016-07-02 18:29:36 +01:00
Jack Edge 9f9fd6efcd Merge branch 'master' into dynamic-transit 2016-07-02 11:57:32 +01:00
Jack Edge f7284db11d Multiple assignment, Emergency shuttle works 2016-07-02 11:18:54 +01:00
Jack Edge 1ad915beed Now working, let's do this 2016-07-02 00:03:04 +01:00
Jack Edge 0f67b846df Replaces travelDir with port_angle 2016-07-01 16:55:19 +01:00
Jack Edge 8b8a10410f Removes zombie shuttle ripples
The qdel timer was interacting weirdly with the pool. This makes it
stop.

Fixes #19021
2016-07-01 10:42:52 +01:00
Jack Edge d0a2225e64 Functioning with bugs 2016-06-30 15:50:29 +01:00
Jack Edge 3c022aa0d1 Wheeee 2016-06-30 13:24:05 +01:00
Jack Edge c2108a9af5 At this point it's turning into more a rewrite 2016-06-30 00:05:26 +01:00
Jack Edge d770fd8b2d Is anything real anymore 2016-06-29 20:37:32 +01:00
Jack Edge 32d29d7222 Experiments will continue until performance improves 2016-06-29 11:14:15 +01:00
Jack Edge 1686c2b838 Merge branch 'master' into dynamic-transit 2016-06-28 14:03:20 +01:00
Jack Edge 0d0c42fc6a Compilation 2016-06-28 13:04:43 +01:00
oranges f888c516f3 Merge pull request #18942 from coiax/free-the-export
Exports no longer need to be inside storage containers
2016-06-28 22:00:35 +12:00
Jack Edge d1aaf24feb Removes all transit space 2016-06-27 18:14:47 +01:00
Jack Edge 1dc2950eb9 Fixes all bugs; exports now work 2016-06-26 20:08:50 +01:00
Jack Edge ba673a04d1 Removes requirements for exports to be contained
🆑 coiax
rscadd: All items in the supply shuttle are processed for export,
irregardless of whether they are in a container or not.
/🆑
2016-06-26 12:40:13 +01:00
Jack Edge a09544992c Merge branch 'master' into shuttle-processing
Conflicts:
	code/modules/shuttle/ripple.dm
2016-06-26 01:00:25 +01:00
Joan Lung fc46c2c145 Merge pull request #18884 from coiax/slower-shuttles
Changes default shuttle transit time to 15 seconds
2016-06-25 14:51:56 -04:00
Joan Lung 591763e4e3 Merge pull request #18882 from coiax/qdelin
Adds QDEL_IN(time) macro; more spawn() removal
2016-06-25 14:44:26 -04:00
Jack Edge 86cc2dd09a Ripples are overlay/temp 2016-06-25 18:18:44 +01:00
Jack Edge 958b7bfc82 Makes things use QDEL_IN 2016-06-25 11:53:31 +01:00
Jack Edge e1b7ef1cba Changes default shuttle transit time to 15 seconds
🆑 coiax
rscdel: The default shuttle transit time is now
15 seconds.
/🆑

- Fixes shuttle movement spam to spam stun
- Guarantees that all shuttles produce the full
ten second ripple effect before appearing
2016-06-24 10:16:27 +01:00
Jack Edge 276316e100 [dnm] Gang domination now uses world.time
🆑 coiax
tweak: Gang domination now uses real time rather than game time, making
that 900 seconds an ACTUAL 900 seconds, like shuttle timers.
/🆑

I am currently unable to test this, if someone could that would be
great.
2016-06-24 09:40:51 +01:00
Cheridan a6fc773540 Merge pull request #18723 from coiax/pond-skipping
Adds visible ripples indicating shuttle's transit
2016-06-22 11:24:44 -05:00
oranges 6ddd748fb2 Merge pull request #18726 from coiax/spawn-removal-1
Removes spawn() from things I
2016-06-21 09:56:38 +12:00
Kyle Spier-Swenson 0d6bbbb412 stop the pills (#18703)
* RedPills Processing

Now you have to use START_PROCESSING(SSname, thing) (and STOP_PROCESSING)

* Fixes a minor bug.
2016-06-20 12:07:44 +02:00
oranges 9d2d092847 Merge pull request #18658 from coiax/fix-18389
Bar tables now shuttle rotate properly
2016-06-20 08:18:48 +12:00
Jack Edge 81a4e188bc Code review 2016-06-19 10:15:26 +01:00
Jack Edge e33692b1c1 Removes spawn() from things I
- Removes from Sin of Greed slot machine (also cleans up the visible
message to make a difference between viewer and user)
- Removes from ferry request cooldown
- Removes from knock opening doors and closets
2016-06-19 01:06:51 +01:00
Jack Edge a673ba8a75 Removes spawn() 2016-06-19 00:11:34 +01:00
Jack Edge 2d4272612c Roadkill only affects affected turfs 2016-06-18 23:40:13 +01:00
Jack Edge b67726f896 Code review 2016-06-18 23:08:27 +01:00
Jack Edge 9e0f6eb391 Emergency shuttle also creates ripples 2016-06-18 22:48:46 +01:00
Jack Edge 68a67e2227 Adds visible ripples indicating shuttle's transit
🆑 coiax
rscadd: Due to budget cuts, the shuttle's hyperspace engines now create
a visual distortion at their destination, a few secons before arrival.
Crewmembers are encouraged to use these "ripples" as an indication of
where not to stand.
/🆑

- Adds a new layer RIPPLE_LAYER, above vines, below ghosts
- Ripples appear at 10 seconds (the engines online time) and fade in
from fully transparent to fully visible during that time.
2016-06-18 21:30:02 +01:00
Jack Edge 8d4a0b2907 Bar tables now shuttle rotate properly
Fixes #18389.
2016-06-17 09:37:12 +01:00
unknown a0c866967f Splits languages into languages_spoken and languages_understood. 2016-06-16 18:50:32 -04:00