Commit Graph

44 Commits

Author SHA1 Message Date
bgobandit 47dcbc2fd0 Various mining additions, fixes and rebalances. 2015-11-18 19:14:28 -05:00
phil235 d3ee910211 Makes effect system code more OOP.
obj/effect/effect is now renamed obj/effect/particle_effect for better usability.
datum/effect/system and /datum/effect/effect/system are now both /datum/effect_system.
Fixes a bug where wall mounted igniters (and other spark producing objects) didn't produce sparks sometimes.
Moved explosion_particles.dm into the effect_system folder, because it has effect_systems code.
2015-10-21 23:28:29 +02:00
duncathan 51c09f16bf makes all Destroy()'s return properly 2015-08-31 00:21:01 -06:00
Razharas 792a30413e Fixes telesci console icon 2015-06-26 17:03:29 +03:00
phil235 e6dcabf245 Merge pull request #9960 from xxalpha/bass
Put drop_item() calls inside ifs. Replaced some drop_item() with unEq…
2015-06-18 15:50:35 +02:00
xxalpha b2e84a0d3c Put drop_item() calls inside ifs. Replaced some drop_item() with unEquip( 2015-06-14 20:11:40 +01:00
kingofkosmos c8d79e7034 Removed unnecessary spaces in these situations:
"span class = '" changed to "span class='"
"'> " changed to "'>"
2015-06-14 12:13:19 +03:00
kingofkosmos 9ebbdb2fb2 span fixes 2015-04-24 20:52:01 +03:00
kingofkosmos e371dd9f35 more spans 2015-04-24 20:52:00 +03:00
Remie Richards 5fc7af7fbf attackby() now has an argument containing the parameters of the click that called it. Items placed on tables now center their icon where the user clicked. this is NOT true for racks, since racks look organised in their sprite.
Items reset their pixel_x and pixel_y values on pickup.
2015-02-19 13:02:43 +00:00
Razharas e0e75b9ec5 Fixes telesci runtime on memory settting
Fix #5778
2014-11-22 17:53:44 +03:00
Jordie0608 5e5857e1fd Removes telesci comp's update_icon override 2014-10-07 23:16:52 +11:00
MrPerson 9d9a657acf Change examine() from an atom verb to a mob verb
Just in time for the feature freeze, a big change that will introduce bugs! Yay!
Mob verb is called verb/examinate(target), which just calls target.examine(user) and face_atom(target)
For explanation why, see http://www.byond.com/forum/?post=1326139&page=2#comment8198716
Long story short, mob verbs are much faster than object verbs. The goal is to make right-click menus populate faster.

Also changes a bunch of examine() procs to always, ALWAYS call the parent. Except mobs, but you have 1 guess why I'm not touching them. Mostly this affects obj/item/examine().
And also remove a whole shitload of pointless set src in view(2) kind of crap. Also span classes.
2014-05-01 09:56:39 -07:00
Mloc-Hibernia 8af8a43d6f Initial pass to convert LF to CRLF
Signed-off-by: Mloc-Hibernia <colmohici@gmail.com>
2014-03-24 08:53:40 +00:00
MrPerson 3c58091437 Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel
Hopefully nothing went wrong but you never know.

Conflicts:
	code/FEA/FEA_fire.dm
	code/controllers/supply_shuttle.dm
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/machinery/autolathe.dm
	code/game/machinery/drying_rack.dm
	code/modules/hydroponics/hydroponics.dm
	code/modules/projectiles/projectile/magic.dm
	code/modules/reagents/Chemistry-Recipes.dm
	code/modules/reagents/reagent_dispenser.dm
2014-03-02 21:39:27 -08:00
MrPerson 9eee3e5067 First pass at a qdel() garbage collection system for tgstation
Works pretty well. If it can't GC something, it'll just del() it and be done.
Speed is amazing, holy shit.

New procs you should be aware of:
qdel(atom/movable) - sets up an object for garbage collection. Call this rather than del(atom/movable).
atom/movable/Destroy() - called right before the object is GC'd, so it still has a loc. Also called if the object is del()'d.
new controller - garbage.dm has all the details on this. Basically it nulls all references on GC'd objects and force del() them if necessary.
Generally speaking, objects should use Destroy() for behavior prior to deletion rather than Del(). You should also always call the parent so the object gets the right gc_destroyed var set.

ISSUES:
Tries to GC mobs atm. This actually works for new players, not so much for humans/monkies/simple_animals/anything. I'm guessing it needs to clear out their mind and HUD and maybe other things.
Gibbing is really bugged. It works, but the overlays just sit there for awhile and ugh. I'm very tempted just to del() mob/living and mob/camera and call it a day.
qdel() equipment doesn't unequip the item.
Pipes don't generally GC correctly. Debugging suggests they get referenced in many pipenets and that isn't cleared properly. However some do work fine. Need assistance here.
Bots don't GC, probably in the radio controller.
Lots of other shit doesn't GC but it's hard to find them because of the pipe spam.
I think I'm calling Destroy() twice by accident.
2014-02-23 14:55:12 -08:00
Razharas 84e1d9872e Telescience fix
Fixes infinite telecrystals from telescience
I tested most of the computers and they were good
No idea who put initialize into new and why
2014-02-23 16:54:52 +04:00
Miauw 9b8656247c u_equip is now called unEquip PANIC 2014-02-13 20:58:33 +01:00
Miauw 8c7ef19be6 Replaced before_take_item() and drop_from_inventory() with u_equip 2014-02-12 19:51:37 +01:00
Razharas d0abafed36 Merge branch 'master' of https://github.com/tgstation/-tg-station into SayYiffYiffIfYouAreMachineFucker 2014-01-22 10:11:00 +04:00
Alek2ander 9fa38637ad Logs everywhere
Explosion game log now has epicenter coords
Powersink placement and explosion notifications
C4 notifications and logs
Logging singulo munchies and death
All SMES interactions now logged, because any of them can mess stuff up
Telesci logs what was teleported
2014-01-19 21:16:30 +04:00
Razharas 195c85dc54 And some more issues
Returned gia's telesci interface
Fixed some mistakes and bugs
Also some more sprites
Deleted(i fucking hope) accidental investigate log
2014-01-12 03:11:20 +04:00
Razharas 551a7ab0a3 Issues fixing
Added biogenerator and freezer/heater
Fixed issues gia pointed out
Added some lost sprites
2014-01-11 00:56:28 +04:00
Razharas 1685dd3b7a Machine overhaul 2: Constructable Revolution
Yeah i lost half of my work so its only other half
Durning this PR ill try to redo what was lost, in no way is it a
complete thing
Hope git wont do anything bad with it
2014-01-10 18:53:26 +04:00
Giacomand 17fd5d6cdc * Fixes certain objects not using 3D sounds.
* Gave the piano a bigger falloff.
 * Capped the sound x/z to 7.
2013-11-21 23:50:53 +00:00
Giacomand fc49fda5e5 Grammar fixes. 2013-11-17 19:25:14 +00:00
Giacomand 5fd2b4485e Removed the angle offset.
Made bluespace crystals a little easier to research.
2013-11-17 15:37:07 +00:00
Giacomand 79cc8eeca3 * Ghosts can now be teleported again! 2013-11-13 20:06:31 +00:00
Giacomand 0824bbd599 * Tidied up the code.
* Changed some code to use the teleport datum features.
 * Fixed a broken check in the teleport datum.
2013-11-12 19:49:36 +00:00
Giacomand 05f211f0c3 * It is now impossible to teleport to the away missions, through telescience. 2013-11-12 19:09:56 +00:00
Giacomand 5043091b72 * Lowered the origin and required tech for the bluespace crystals.
* Commented out the distance value that you receive, making it harder when calculating.
 * Added materials to the origin tech (organic crystal only) and raised material required to make new bluespace crystals.
2013-11-12 18:36:30 +00:00
Giacomand b8c031026c * Telescience now works on bluespace crystals, which are special crystals which unlock power settings from the telescience computer.
* The telescience computer starts with 3 artificial crystals.
 * The crystals can be crushed to blink or you can throw it at someone to make them blink a short distance.
 * You cannot teleport the AI or any anchored mob (unless they are buckled to an office chair).
 * You can make the bluespace crystals from slimes or from research.
2013-11-12 14:24:56 +00:00
Giacomand 6aba9a096d * Rounds the time. 2013-11-11 22:13:39 +00:00
Giacomand 72b695e7c2 * Rounded the distance and seconds.
* Removed obfuscation.
2013-11-11 21:21:29 +00:00
Giacomand d67c3704a5 * Added an angle offset, to make it even harder to use telescience.
* Obfuscated the distance a bit.
2013-11-11 21:18:35 +00:00
Giacomand 799f39c7fd Fixes some bugs.
Rotation offset is enabled.
Angles use only one decimal place now.
2013-11-11 18:53:45 +00:00
Giacomand 364eaa318c * Small bug fixes.
* Added some code for offsetting the bearing, not used yet.
 * Runtime fixes.
 * Fixed teleporter teleporting AI eyes.
2013-11-11 00:21:59 +00:00
Giacomand f635ad3dc1 Changed the distance measurement from feet to meters.
GPS will now take the first 4 characters, instead of rejecting large texts.
2013-11-10 15:02:08 +00:00
Giacomand 0d0997b5f2 GPS will now uppercase all new tags.
Elevation now starts at 45 degrees.
2013-11-10 14:36:19 +00:00
Giacomand 1ee41eb995 * Added sound effects for charging and teleporting.
* Cleaned up the UI so it doesn't move around.
 * You can now enter -90 into the bearing to get 270.
2013-11-09 21:56:10 +00:00
Giacomand 1e9ede42ee * Renamed rotation to bearing.
* Renamed angle to elevation.
2013-11-09 18:33:39 +00:00
Giacomand 0c5cd7d8ac Telescience now uses projectile trajectories to calculate the tile to teleport to.
The user can set a rotation (the direction the teleport will send him), the power (the amount of power the telepad will use, basically the x velocity) and the angle (which is the y velocity).

The random factor is that the power is randomly offset everytime you recalibrate the telepad.

There is a delay between each use of the teleport, which is calculated by the time it takes for a projectile to hit a destination.
There is also a delay determined by the amount of power you use.

Added a manual for telescience, which links to the wiki.
2013-11-09 15:03:23 +00:00
Giacomand fbd79a6c02 Initial commit for telescience which uses projectile trajectory to obtain a destination coordinate. 2013-11-09 13:02:15 +00:00
Cheridan 2c4f15bdbd Cleaned up the UI and fixed bugs.
fixed up the GPS lists.

Added another Telescience area.

Fixed one final bug.

fixed some bugs

fixed a bug

Fixed a fuck ton of Bugs and Issues. Heavy thanks to SuperSayu for helping fix the code, along with Giacom.

Added 2 new Telescience only areas, and gave the BIG BAD BADMINS a investigate log each time someone teleports with Telescience. This logs the destination coordinates and the area it was in.

Fixed some bugs, and set the new stuff on a BRAND NEW 7th Z-LEVEL! Now you guys cant get to it falling out of the shuttle anymore.

Fixed some bugs.

Added Cosmic Anomalies on the empty Z-Level for you to find during Telescience! I also fixed some bugs.

Fixes a bunch of bugs. Don't pull yet, Telescience stuff is on the way!

fixed another issue

Fixed more issues

Fixed issues.

Adds Telescience! It is also added to the map where Misc. Research was.

Merge pull request #1682 from Giacom/active_player_serverstatus

Adds the active players for when you are getting the server status.
2013-11-08 22:54:34 +00:00