From 6b588f95aafb6414240380ca80e76b591f923d54 Mon Sep 17 00:00:00 2001 From: Kelsey Date: Mon, 27 Jan 2025 20:22:44 -0800 Subject: [PATCH] Rename still alive tag --- fgd/point/logic/logic_achievement.fgd | 4 ++-- fgd/point/logic/logic_playerproxy.fgd | 4 ++-- fgd/point/logic/logic_title_unlock_test.fgd | 2 +- src/hammeraddons/unify_fgd.py | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fgd/point/logic/logic_achievement.fgd b/fgd/point/logic/logic_achievement.fgd index cca6a1a9..1ad11caa 100644 --- a/fgd/point/logic/logic_achievement.fgd +++ b/fgd/point/logic/logic_achievement.fgd @@ -280,7 +280,7 @@ "ACHIEVEMENT_EVENT_EP2_WEBCACHE_09": "Web Cache: ep2_outland_04 gear cave poison crab wall cache" ] - achievementevent[P1, !P1XBLA](choices) : "Achievement Event" : : "Named event is sent to the achievement system when this entity receives a 'FireEvent' input." = + achievementevent[P1, !PSA](choices) : "Achievement Event" : : "Named event is sent to the achievement system when this entity receives a 'FireEvent' input." = [ "ACHIEVEMENT_EVENT_PORTAL_GET_PORTALGUNS": "Lab Rat" "ACHIEVEMENT_EVENT_PORTAL_KILL_COMPANIONCUBE": "Fratricide" @@ -299,7 +299,7 @@ "ACHIEVEMENT_EVENT_PORTAL_TRANSMISSION_RECEIVED": "Transmission Received" ] - achievementevent[P1XBLA](choices) : "Achievement Event" : : "Named event is sent to the achievement system when this entity receives a 'FireEvent' input." = + achievementevent[PSA](choices) : "Achievement Event" : : "Named event is sent to the achievement system when this entity receives a 'FireEvent' input." = [ "ACHIEVEMENT_EVENT_GO_FOR_THE_GOLD" : "Go for the Gold" "ACHIEVEMENT_EVENT_OUT_OF_THE_BLUE_START" : "Out of the Blue (Start)" diff --git a/fgd/point/logic/logic_playerproxy.fgd b/fgd/point/logic/logic_playerproxy.fgd index 3c0d1fb7..1ee3638f 100644 --- a/fgd/point/logic/logic_playerproxy.fgd +++ b/fgd/point/logic/logic_playerproxy.fgd @@ -64,8 +64,8 @@ input PaintPlayerWithPortalPaint[P2](void) : "Displays a Conversion Gel splashing effect on the player's screen." // Still Alive leaderboard inputs - input OnPlayerStartedGame[P1XBLA](void) : "Indicates that the player started the game from the beginning and leaderboard stats should be tracked." - input OnPlayerBeatGame[P1XBLA](void) : "Saves the current time, portal, and step scores to the leaderboard if OnPlayerStartedGame was fired previously." + input OnPlayerStartedGame[PSA](void) : "Indicates that the player started the game from the beginning and leaderboard stats should be tracked." + input OnPlayerBeatGame[PSA](void) : "Saves the current time, portal, and step scores to the leaderboard if OnPlayerStartedGame was fired previously." // Outputs output OnFlashlightOn[HL2, P1](float) : "Fired when the player turns on their flashlight. This output has the value of how much energy the player had when this happened [0..1]." diff --git a/fgd/point/logic/logic_title_unlock_test.fgd b/fgd/point/logic/logic_title_unlock_test.fgd index 4c1c15fe..9f78cdd6 100644 --- a/fgd/point/logic/logic_title_unlock_test.fgd +++ b/fgd/point/logic/logic_title_unlock_test.fgd @@ -1,5 +1,5 @@ @PointClass base(BaseEntityPoint) - appliesto(P1XBLA) + appliesto(PSA) iconsprite("editor/logic_title_unlock_test") = logic_title_unlock_test: "Checks if the game is running in trial mode, and fires an output if it is." [ diff --git a/src/hammeraddons/unify_fgd.py b/src/hammeraddons/unify_fgd.py index b6c4dd80..b76d9c66 100644 --- a/src/hammeraddons/unify_fgd.py +++ b/src/hammeraddons/unify_fgd.py @@ -54,7 +54,7 @@ ('KZ', 'Kreedz Climbing'), ], 'P1': [ - ('P1XBLA', 'Portal: Still Alive'), + ('PSA', 'Portal: Still Alive'), ('PEE15', 'Portal Epic Edition 1.5'), ], 'ASW': [ @@ -103,7 +103,7 @@ 'CSGO': {'INST_IO', 'PROP_SCALING', 'VSCRIPT', 'PROPCOMBINE'}, 'P2DES': {'P2', 'INST_IO', 'PROP_SCALING', 'VSCRIPT', 'PROPCOMBINE'}, - 'P1XBLA': {'P1'}, + 'PSA': {'P1'}, 'PEE15': {'P1', 'HL2', 'EP1', 'EP2', 'MBASE', 'VSCRIPT'}, 'PEE2': {'P2', 'HL2', 'EP1', 'EP2', 'INST_IO', 'VSCRIPT'}, }