feat: implement a bunch of basic scripts that don't really do anything (#1999)

* feat: implement a bunch of basic scripts that don't really do anything

None of these do anything noticeable or break anything

* fixes
This commit is contained in:
David Markowitz
2026-06-16 07:49:30 -07:00
committed by GitHub
parent c0d055e66e
commit 79bb48d3bc
6 changed files with 46 additions and 4 deletions

View File

@@ -13,7 +13,6 @@ void ResetMissions(Entity& user) {
}
void OldManNPC::OnUse(Entity* self, Entity* user) {
LOG("");
const auto* const missionComponent = user->GetComponent<MissionComponent>();
if (!missionComponent) return;
@@ -24,7 +23,6 @@ void OldManNPC::OnUse(Entity* self, Entity* user) {
}
const auto missionState = mission->GetMissionState();
LOG("mission state %i", missionState);
if (missionState == eMissionState::AVAILABLE || missionState == eMissionState::COMPLETE_AVAILABLE) {
ResetMissions(*user);
}