Tweak tutorial messages

This commit is contained in:
2025-09-20 01:56:34 +01:00
parent b270e18556
commit 4179115023
8 changed files with 30 additions and 20 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
Seed: 8032054640819015688 Seed: 7114951007332849727
Room layout (compact): Room layout (compact):
0,1,2,3 0,1,2,3
| |
+2 -2
View File
@@ -1,4 +1,4 @@
Generating level with seed 8032054640819015688 Generating level with seed 7114951007332849727
After 1 attempt(s), Successful generation of level with seed 8032054640819015688 After 1 attempt(s), Successful generation of level with seed 7114951007332849727
13 rooms in total 13 rooms in total
+1 -1
View File
@@ -1,4 +1,4 @@
Seed: 8032054640819015688 Seed: 7114951007332849727
0:TutStartRez 0:TutStartRez
| |
1:corDoor 1:corDoor
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
8032054640819015688 7114951007332849727
-1
View File
@@ -4,7 +4,6 @@ import Color
import Dodge.Data.GenWorld import Dodge.Data.GenWorld
import Dodge.Default import Dodge.Default
import Dodge.Placement.Instance import Dodge.Placement.Instance
--import Dodge.Terminal
import LensHelp import LensHelp
analyser :: ProximitySensorType -> PlacementSpot -> PlacementSpot -> Placement analyser :: ProximitySensorType -> PlacementSpot -> PlacementSpot -> Placement
+1 -1
View File
@@ -381,7 +381,7 @@ drawTerminalDisplay lw cfig tm =
TerminalTextInput s -> TerminalTextInput s ->
(++ [(getPromptTM ++ s ++ [cFilledRect], white)]) (++ [(getPromptTM ++ s ++ [cFilledRect], white)])
TerminalPressTo s -> TerminalPressTo s ->
(++ [("<" ++ s ++ ">", white)]) (++ [(s, white)])
spincurs = clockCycle 4 (V.fromList ["/","-","\\","|"]) lw spincurs = clockCycle 4 (V.fromList ["/","-","\\","|"]) lw
lnkMidPosInvSelsCol :: Config -> World -> Int -> Color -> [Int] -> Picture lnkMidPosInvSelsCol :: Config -> World -> Int -> Color -> [Int] -> Picture
+23 -12
View File
@@ -114,18 +114,26 @@ tutRooms = do
& plSpot .~ rprBoolShift isUnusedLnk & plSpot .~ rprBoolShift isUnusedLnk
(\(p, a) -> (p + 10 *.* unitVectorAtAngle (a - pi/2), a)) (\(p, a) -> (p + 10 *.* unitVectorAtAngle (a - pi/2), a))
ss' = ss' =
[ makeTermLine "HOLD [CAPS] AND SCROLL\\" [ makeTermLine "HOLD [CAPS] AND SCROLL"
, makeTermLine " OR }~ TO REARRANGE INVENTORY ITEMS" , makeTermLine " OR CLICK AND DRAG TO REARRANGE INVENTORY ITEMS"
, makeTermLine " CLICK AND DRAG/"
, makeTermLine "" , makeTermLine ""
, makeTermLine "AMMO MAGS ARE TYPICALLY LOADED BENEATH WEAPONS" , makeTermLine "AMMO MAGS ARE TYPICALLY LOADED BENEATH WEAPONS"
, makeTermLine " .-------." , makeTermLine " .-------."
, makeTermLine " BURSTRIFLE |DRUMMAG|" , makeTermLine " BURSTRIFLE |DRUMMAG|"
, makeTermLine " <--------------'" , makeTermLine " <------^-------^"
, makeTermLine ""
, makeTermLine "HOLD [RMB] TO AIM"
, makeTermLine "*AND* THEN TAP [LMB] TO FIRE LOADED WEAPONS"
]
sensorTut :: [TerminalLine]
sensorTut =
[ makeTermLine "SOME TERMINALS DETECT EXTERNAL CONDITIONS"
, makeTermLine "WHILE WORKING THESE DISPLAY SPINNING SYMBOL"
, makeTermLine ""
, makeTermLine "**CAUTION**"
, makeTermLine "THE CONDITIONS AND ANY EFFECTS MAY BE HIDDEN"
, makeTermLine "" , makeTermLine ""
, makeTermLine "HOLD [RMB]\\"
, makeTermLine " AND TAP }~ TO FIRE LOADED WEAPONS"
, makeTermLine " TAP [LMB]/"
] ]
tutRezBox :: RandomGen g => State g Room tutRezBox :: RandomGen g => State g Room
@@ -138,9 +146,9 @@ tutRezBox = do
, Placement (PS 0 0) PutNothing Nothing $ \w _ -> Just $ putImmediateMessageTerminal , Placement (PS 0 0) PutNothing Nothing $ \w _ -> Just $ putImmediateMessageTerminal
terminalColor terminalColor
( defaultTerminal & tmBootLines .~ s w ( defaultTerminal & tmBootLines .~ s w
<> tlSetStatus (TerminalPressTo "USE [WASD] TO MOVE") <> tlSetStatus (TerminalPressTo "QUIT")
<> tlDoEffect <> tlDoEffect TmWdWdPowerDownTerminal
(TmWdWdLeaveTerminal "USE [WASD] TO MOVE") -- <> tlDoEffect (TmWdWdLeaveTerminal "QUIT")
) )
& plSpot .~ PS (V2 20 0) 0 & plSpot .~ PS (V2 20 0) 0
] ]
@@ -155,7 +163,10 @@ tutorialMessage1 i =
[ makeTermLine $ "WELCOME TO ENVIRONMENT " ++ show i [ makeTermLine $ "WELCOME TO ENVIRONMENT " ++ show i
, makeTermLine "" , makeTermLine ""
] ]
<> tlSetStatus (TerminalPressTo "USE [SPACE] TO INTERACT") <> tlSetStatus (TerminalPressTo "USE [SPACE] TO INTERACT WITH NEARBY OBJECTS")
<> [ makeTermLine "USE [SPACE] TO INTERACT" <> [ makeTermLine "USE [SPACE] TO INTERACT WITH NEARBY OBJECTS"
, makeTermLine "" , makeTermLine ""
, makeTermLine "USE [W]"
, makeTermLine " [A] [S]"
, makeTermLine " [D] TO MOVE"
] ]