AIs in intellicards will not be able to move their camera anymore. Limiting them to their own core vision.

Committing Zelack's cleanup and fixes from here:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=11056

Plantbags now correctly pick up plants from trays.
Using a hoe or injecting reagents updates the tray icon.
Plant Analysers now work on seed bags.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5173 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-11-23 23:01:04 +00:00
parent 073737a773
commit 43e06e4ebb
4 changed files with 454 additions and 436 deletions

View File

@@ -33,6 +33,16 @@
var/growthstages = 0 var/growthstages = 0
var/plant_type = 0 // 0 = 'normal plant'; 1 = weed; 2 = shroom var/plant_type = 0 // 0 = 'normal plant'; 1 = weed; 2 = shroom
/obj/item/seeds/attackby(var/obj/item/O as obj, var/mob/user as mob)
if (istype(O, /obj/item/device/analyzer/plant_analyzer))
user << "*** <B>[plantname]</B> ***"
user << "-Plant Endurance: \blue [endurance]"
user << "-Plant Lifespan: \blue [lifespan]"
if(yield != -1)
user << "-Plant Yield: \blue [yield]"
user << "-Plant Production: \blue [production]"
if(potency != -1)
user << "-Plant Potency: \blue [potency]"
/obj/item/seeds/chiliseed /obj/item/seeds/chiliseed
name = "pack of chili seeds" name = "pack of chili seeds"

File diff suppressed because it is too large Load Diff

View File

@@ -36,10 +36,13 @@
// It will also stream the chunk that the new loc is in. // It will also stream the chunk that the new loc is in.
/mob/aiEye/proc/setLoc(var/T) /mob/aiEye/proc/setLoc(var/T)
T = get_turf(T)
loc = T
cameranet.visibility(src)
if(ai) if(ai)
if(!isturf(ai.loc))
return
T = get_turf(T)
loc = T
cameranet.visibility(src)
if(ai.client) if(ai.client)
ai.client.eye = src ai.client.eye = src
//Holopad //Holopad
@@ -114,7 +117,6 @@
user.sprint = initial user.sprint = initial
user.cameraFollow = null user.cameraFollow = null
src.eye = user.eyeobj
//user.unset_machine() //Uncomment this if it causes problems. //user.unset_machine() //Uncomment this if it causes problems.
//user.lightNearbyCamera() //user.lightNearbyCamera()

View File

@@ -54,6 +54,11 @@ should be listed in the changelog upon commit tho. Thanks. -->
<ul class="changes bgimages16"> <ul class="changes bgimages16">
<li class="rscadd">Simplified detective stuff. The high-res scanner is gone and instead the detective's normal scanner will instantly report all fingerprints, dna and cloth fibers in full. This was needed because the system took too long to work with and disencouraged detectives. Not only that, it made detectives less of a threat for antagonists and made possible scenerios, such as framing someone by changing fingerprints with someone else, impratical. To replace the computer, the detective will have a full medical computer with access to it. Not only that, but his useless filing cabinet will be replaced with an empty one for serious investigators. Along with this, are fingerprint cards and built-in PDA scanning, as all of security had access to it which was really the detective's thing. The new scanner will also log every finding and you can print them out as a report by clicking the scanner while it is in your active hand.</li> <li class="rscadd">Simplified detective stuff. The high-res scanner is gone and instead the detective's normal scanner will instantly report all fingerprints, dna and cloth fibers in full. This was needed because the system took too long to work with and disencouraged detectives. Not only that, it made detectives less of a threat for antagonists and made possible scenerios, such as framing someone by changing fingerprints with someone else, impratical. To replace the computer, the detective will have a full medical computer with access to it. Not only that, but his useless filing cabinet will be replaced with an empty one for serious investigators. Along with this, are fingerprint cards and built-in PDA scanning, as all of security had access to it which was really the detective's thing. The new scanner will also log every finding and you can print them out as a report by clicking the scanner while it is in your active hand.</li>
<li class="rscadd">You can toggle the pressure of your sprayer by clicking on it while it is in your active hand. With pressure, the sprayer will spray 10 units on the floor, otherwise it sprays 5. You'll need to turn pressure on to spray water on the floor and make it slippery.</li> <li class="rscadd">You can toggle the pressure of your sprayer by clicking on it while it is in your active hand. With pressure, the sprayer will spray 10 units on the floor, otherwise it sprays 5. You'll need to turn pressure on to spray water on the floor and make it slippery.</li>
<li class="rscadd">AIs in intellicards can no longer move their camera. This will limit them in ability but without making creating and carding an AI to have as a personel door opener impossible.</li>
</ul>
<h3 class="author">Zelacks updated:</h3>
<ul class="changes bgimages16">
<li class="rscadd"Plant Analysers now work on seed bags.</li>
</ul> </ul>
</div> </div>