This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Prevents anyone riding in the trailer of the open top HEMTT transport. | |
//One passenger may still ride in the front. | |
//Usage: | |
//null = this execVM "ptg_lockNatoTrailer.sqf.sqf"; | |
_this lockCargo [1, true]; | |
_this lockCargo [2, true]; | |
_this lockCargo [3, true]; | |
_this lockCargo [4, true]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To prepare a Google Spreadsheet for this: | |
// make sure the spreadsheet has been published to web (FILE >> PUBLISH TO WEB), which is NOT the same as sharing to web | |
// To use in a different script: | |
// 1) include "using Google.GData.Client;" | |
// 2) include "using Google.GData.Spreadsheets;" | |
// 3) call "GDocService.GetSpreadsheet( string spreadsheetKey );", see DebugTest section for sample usage | |
// uncomment to enable debug output | |
// #define debugTest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/VertexBlendMaskedCleanEdges" { | |
Properties | |
{ | |
_Over ("Over", 2D) = "white" {} | |
_Under ("Under", 2D) = "white" {} | |
_Mask ("Mask", 2D) = "white" {} | |
_Bias ("Edge Bias", Range(0.5, 30.0)) = 4.0 | |
_Edge ("Edge Sharpness", Float) = 10.0 | |
_Fall ("Blend Falloff", Float) = 1.0 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/obj/machinery/sleep_console | |
name = "sleeper console" | |
icon = 'icons/obj/Cryogenic2.dmi' | |
icon_state = "console" | |
anchored = 1 //About time someone fixed this. | |
density = 1 | |
var/obj/machinery/sleeper/connected = null | |
/obj/machinery/sleep_console/New() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/proc/in_range(source, user) | |
if(get_dist(source, user) <= 1) | |
return 1 | |
return 0 //not in range and not telekinetic | |
/obj/machinery/Topic(href, href_list) | |
..() | |
if(stat & (NOPOWER|BROKEN)) | |
world << "src.stat" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/mob/living/carbon/human/proc/forcesay(list/append) | |
if(client) | |
var/virgin = 1 //has the text been modified yet? | |
var/temp = winget(client, "input", "text") | |
if(findtext(temp, "Say \"", 1, 7) && length(temp) > 5) | |
temp = replacetext(temp, ";", "") //general radio | |
if(findtext(trim_left(temp), ":", 6, 7)) //dept radio | |
temp = copytext(trim_left(temp), 8) |
NewerOlder