Fix inventory in act-i. - dotg - Day Of The GrParazyd | |
git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
commit 6b86b31c59f01a309807f2e2f30cb4a442719c7f | |
parent 4cccd1c9850f2bd526228b4ad3bcfca8e17ca121 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Thu, 31 Jul 2025 09:48:33 +0200 | |
Fix inventory in act-i. | |
Diffstat: | |
M act-i/config | 4 +++- | |
M act-i/functions | 38 ++++++++++++++++-------------… | |
2 files changed, 22 insertions(+), 20 deletions(-) | |
--- | |
diff --git a/act-i/config b/act-i/config | |
@@ -1,8 +1,10 @@ | |
#!/bin/sh | |
+export base="/br/gopher" | |
export path="/dotg/act-i" | |
-export savegame="/br/gopher/dotg/act-i/$REMOTE_ADDR" | |
+export dotgpath="$base/$path" | |
+export savegame="$dotgpath/$REMOTE_ADDR" | |
export hipsters="$savegame/hipsters" | |
export bedroom1="$savegame/bedroom1" | |
export bedroom2="$savegame/bedroom2" | |
diff --git a/act-i/functions b/act-i/functions | |
@@ -246,79 +246,79 @@ use_specific() { | |
case "$call" in | |
talk-girls) | |
- . talk-girls.sh | |
+ . $dotgpath/talk-girls.sh | |
specific_talk_girls "$item" | |
;; | |
talk-gentoo) | |
- . talk-gentoo.sh | |
+ . $dotgpath/talk-gentoo.sh | |
specific_talk_gentoo "$item" | |
;; | |
talk-20h) | |
- . talk-20h.sh | |
+ . $dotgpath/talk-20h.sh | |
specific_talk_20h "$item" | |
;; | |
talk-hipster) | |
- . talk-hipster.sh | |
+ . $dotgpath/talk-hipster.sh | |
specific_talk_hipster "$item" | |
;; | |
talk-nerds) | |
- . talk-nerds.sh | |
+ . $dotgpath/talk-nerds.sh | |
specific_talk_nerds "$item" | |
;; | |
talk-host) | |
- . talk-host.sh | |
+ . $dotgpath/talk-host.sh | |
specific_talk_host "$item" | |
;; | |
talk-elves) | |
- . talk-elves.sh | |
+ . $dotgpath/talk-elves.sh | |
specific_talk_elves "$item" | |
;; | |
talk-balcony) | |
- . talk-balcony.sh | |
+ . $dotgpath/talk-balcony.sh | |
specific_talk_balcony "$item" | |
;; | |
kitchen-sink) | |
- . kitchen-sink.sh | |
+ . $dotgpath/kitchen-sink.sh | |
specific_talk_kitchensink "$item" | |
;; | |
kitchen-fridge) | |
- . kitchen-fridge.sh "$item" | |
+ . $dotgpath/kitchen-fridge.sh "$item" | |
specific_talk_kitchenfridge "$item" | |
;; | |
Hipster_Area) | |
- . Hipster_Area.sh | |
+ . $dotgpath/Hipster_Area.sh | |
specific_talk_hipsterarea "$item" | |
;; | |
Balcony) | |
- . Balcony.sh | |
+ . $dotgpath/Balcony.sh | |
specific_balcony "$item" | |
;; | |
Bedroom1) | |
- . Bedroom1.sh | |
+ . $dotgpath/Bedroom1.sh | |
specific_bedroom1 "$item" | |
;; | |
Bedroom2) | |
- . Bedroom2.sh | |
+ . $dotgpath/Bedroom2.sh | |
specific_bedroom2 "$item" | |
;; | |
Bench) | |
- . Bench.sh | |
+ . $dotgpath/Bench.sh | |
specific_bench "$item" | |
;; | |
Toilet1) | |
- . Toilet1.sh | |
+ . $dotgpath/Toilet1.sh | |
specific_toilet1 "$item" | |
;; | |
Toilet2) | |
- . Toilet2.sh | |
+ . $dotgpath/Toilet2.sh | |
specific_toilet2 "$item" | |
;; | |
Kitchen) | |
- . Kitchen.sh | |
+ . $dotgpath/Kitchen.sh | |
specific_kitchen "$item" | |
;; | |
Work_Desk) | |
- . Work_Desk.sh | |
+ . $dotgpath/Work_Desk.sh | |
specific_workdesk "$item" | |
;; | |
*) |