1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Puzzle DLC (#1172)

* Puzzle mode (#1135)

* Add mode button to main menu

* [WIP] Add mode menu. Add factory-based gameMode creation

* Add savefile migration, serialize, deserialize

* Add hidden HUD elements, zone, and zoom, boundary constraints

* Clean up lint issues

* Add building, HUD exclusion, building exclusion, and refactor

- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu

* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria

* Add ingame puzzle mode UI elements

- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>

* Performance optimizations (#1154)

* 1.3.1 preparations

* Minor fixes, update translations

* Fix achievements not working

* Lots of belt optimizations, ~15% performance boost

* Puzzle mode, part 1

* Puzzle mode, part 2

* Fix missing import

* Puzzle mode, part 3

* Fix typo

* Puzzle mode, part 4

* Puzzle Mode fixes: Correct zone restrictions and more (#1155)

* Hide Puzzle Editor Controls in regular game mode, fix typo

* Disallow shrinking zone if there are buildings

* Fix multi-tile buildings for shrinking

* Puzzle mode, Refactor hud

* Puzzle mode

* Fixed typo in latest puzzle commit (#1156)

* Allow completing puzzles

* Puzzle mode, almost done

* Bump version to 1.4.0

* Fixes

* [puzzle] Prevent pipette cheats (miners, emitters) (#1158)

* Puzzle mode, almost done

* Allow clearing belts with 'B'

* Multiple users for the puzzle dlc

* Bump api key

* Minor adjustments

* Update

* Minor fixes

* Fix throughput

* Fix belts

* Minor puzzle adjustments

* New difficulty

* Minor puzzle improvements

* Fix belt path

* Update translations

* Added a button to return to the menu after a puzzle is completed (#1170)

* added another button to return to the menu

* improved menu return

* fixed continue button to not go back to menu

* [Puzzle] Added ability to lock buildings in the puzzle editor! (#1164)

* initial test

* tried to get it to work

* added icon

* added test exclusion

* reverted css

* completed flow for building locking

* added lock option

* finalized look and changed locked building to same sprite

* removed unused art

* added clearing every goal acceptor on lock to prevent creating impossible puzzles

* heavily improved validation and prevented autocompletion

* validation only checks every 100 ticks to improve performance

* validation only checks every 100 ticks to improve performance

* removed clearing goal acceptors as it isn't needed because of validation

* Add soundtrack, puzzle dlc fixes

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
Co-authored-by: dengr1065 <dengr1065@gmail.com>
Co-authored-by: Sense101 <67970865+Sense101@users.noreply.github.com>
This commit is contained in:
tobspr
2021-05-23 16:32:05 +02:00
committed by GitHub
parent 5f0a95ba11
commit 931c8a5821
167 changed files with 14001 additions and 8193 deletions

View File

@@ -48,6 +48,7 @@ steamPage:
global:
loading: Loading
error: Error
loggingIn: Logging in
# How big numbers are rendered, e.g. "10,000"
thousandsDivider: ","
@@ -116,6 +117,42 @@ mainMenu:
savegameLevel: Level <x>
savegameLevelUnknown: Unknown Level
savegameUnnamed: Unnamed
puzzleMode: Puzzle Mode
back: Back
puzzleMenu:
play: Play
edit: Edit
title: Puzzle Mode
createPuzzle: Create Puzzle
loadPuzzle: Load
reviewPuzzle: Review & Publish
validatingPuzzle: Validating Puzzle
submittingPuzzle: Submitting Puzzle
noPuzzles: There are currently no puzzles in this section.
categories:
levels: Levels
new: New
top-rated: Top Rated
mine: My Puzzles
short: Short
easy: Easy
hard: Hard
completed: Completed
validation:
title: Invalid Puzzle
noProducers: Please place a Constant Producer!
noGoalAcceptors: Please place a Goal Acceptor!
goalAcceptorNoItem: >-
One or more Goal Acceptors have not yet assigned an item. Deliver a shape to them to set a goal.
goalAcceptorRateNotMet: >-
One or more Goal Acceptors are not getting enough items. Make sure that the indicators are green for all acceptors.
buildingOutOfBounds: >-
One or more buildings are outside of the buildable area. Either increase the area or remove them.
autoComplete: >-
Your puzzle autocompletes itself! Please make sure your constant producers are not directly delivering to your goal acceptors.
dialogs:
buttons:
@@ -130,6 +167,9 @@ dialogs:
viewUpdate: View Update
showUpgrades: Show Upgrades
showKeybindings: Show Keybindings
retry: Retry
continue: Continue
playOffline: Play Offline
importSavegameError:
title: Import Error
@@ -234,6 +274,9 @@ dialogs:
Choose a pre-defined item:
descShortKey: ... or enter the <strong>short key</strong> of a shape (Which you can generate <link>here</link>)
editConstantProducer:
title: Set Item
markerDemoLimit:
desc: You can only create two custom markers in the demo. Get the standalone for unlimited markers!
@@ -253,6 +296,86 @@ dialogs:
title: Tutorial Available
desc: There is a tutorial video available for this level, but it is only available in English. Would you like to watch it?
puzzleLoadFailed:
title: Puzzles failed to load
desc: >-
Unfortunately the puzzles could not be loaded:
submitPuzzle:
title: Submit Puzzle
descName: >-
Give your puzzle a name:
descIcon: >-
Please enter a unique short key, which will be shown as the icon of your puzzle (You can generate them <link>here</link>, or choose one of the randomly suggested shapes below):
placeholderName: Puzzle Title
puzzleResizeBadBuildings:
title: Resize not possible
desc: You can't make the zone any smaller, because then some buildings would be outside the zone.
puzzleLoadError:
title: Bad Puzzle
desc: >-
The puzzle failed to load:
offlineMode:
title: Offline Mode
desc: >-
We couldn't reach the servers, so the game has to run in offline mode. Please make sure you have an active internect connection.
puzzleDownloadError:
title: Download Error
desc: >-
Failed to download the puzzle:
puzzleSubmitError:
title: Submission Error
desc: >-
Failed to submit your puzzle:
puzzleSubmitOk:
title: Puzzle Published
desc: >-
Congratulations! Your puzzle has been published and can now be played by others. You can now find it in the "My puzzles" section.
puzzleCreateOffline:
title: Offline Mode
desc: >-
Since you are offline, you will not be able to save and/or publish your puzzle. Would you still like to continue?
puzzlePlayRegularRecommendation:
title: Recommendation
desc: >-
I <strong>strongly</strong> recommend playing the normal game to level 12 before attempting the puzzle DLC, otherwise you may encounter mechanics not yet introduced. Do you still want to continue?
puzzleShare:
title: Short Key Copied
desc: >-
The short key of the puzzle (<key>) has been copied to your clipboard! It can be entered in the puzzle menu to access the puzzle.
puzzleReport:
title: Report Puzzle
options:
profane: Profane
unsolvable: Not solvable
trolling: Trolling
puzzleReportComplete:
title: Thank you for your feedback!
desc: >-
The puzzle has been flagged.
puzzleReportError:
title: Failed to report
desc: >-
Your report could not get processed:
puzzleLoadShortKey:
title: Enter short key
desc: >-
Enter the short key of the puzzle to load it.
ingame:
# This is shown in the top left corner and displays useful keybindings in
# every situation
@@ -273,6 +396,7 @@ ingame:
plannerSwitchSide: Flip planner side
cutSelection: Cut
copySelection: Copy
clearBelts: Clear belts
clearSelection: Clear selection
pipette: Pipette
switchLayers: Switch layers
@@ -477,6 +601,43 @@ ingame:
title: Support me
desc: I develop the game in my spare time!
# puzzle mode
puzzleEditorSettings:
zoneTitle: Zone
zoneWidth: Width
zoneHeight: Height
trimZone: Trim
clearItems: Clear Items
share: Share
report: Report
puzzleEditorControls:
title: Puzzle Creator
instructions:
- 1. Place <strong>Constant Producers</strong> to provide shapes and colors to the player
- 2. Build one or more shapes you want the player to build later and deliver it to one or more <strong>Goal Acceptors</strong>
- 3. Once a Goal Acceptor receives a shape for a certain amount of time, it <strong>saves it as a goal</strong> that the player must produce later (Indicated by the <strong>green badge</strong>).
- 4. Once you click review, your puzzle will be validated and you can publish it.
- 5. Upon release, <strong>all buildings will be removed</strong> except for the Producers and Goal Acceptors - That's the part that the player is supposed to figure out for themselves, after all :)
puzzleCompletion:
title: Puzzle Completed!
titleLike: >-
Click the heart if you liked the puzzle:
titleRating: How difficult did you find the puzzle?
titleRatingDesc: Your rating will help me to make you better suggestions in the future
continueBtn: Keep Playing
menuBtn: Menu
puzzleMetadata:
author: Author
shortKey: Short Key
rating: Difficulty score
averageDuration: Avg. Duration
completionRate: Completion rate
# All shop upgrades
shopUpgrades:
belt:
@@ -701,6 +862,21 @@ buildings:
name: Item Producer
description: Available in sandbox mode only, outputs the given signal from the wires layer on the regular layer.
constant_producer:
default:
name: &constant_producer Constant Producer
description: Constantly outputs a specified shape or color.
goal_acceptor:
default:
name: &goal_acceptor Goal Acceptor
description: Deliver shapes to the goal acceptor to set them as a goal.
block:
default:
name: &block Block
description: Allows you to block a tile.
storyRewards:
# Those are the rewards gained from completing the store
reward_cutter_and_trash:
@@ -782,7 +958,7 @@ storyRewards:
title: Storage
desc: >-
You have unlocked the <strong>storage</strong> building - It allows you to store items up to a given capacity!<br><br>
It priorities the left output, so you can also use it as an <strong>overflow gate</strong>!
It prioritises the left output, so you can also use it as an <strong>overflow gate</strong>!
reward_blueprints:
title: Blueprints
@@ -1128,6 +1304,9 @@ keybindings:
analyzer: *analyzer
comparator: *comparator
item_producer: Item Producer (Sandbox)
constant_producer: *constant_producer
goal_acceptor: *goal_acceptor
block: *block
# ---
pipette: Pipette
@@ -1151,6 +1330,7 @@ keybindings:
massSelectSelectMultiple: Select multiple areas
massSelectCopy: Copy area
massSelectCut: Cut area
massSelectClear: Clear belts
placementDisableAutoOrientation: Disable automatic orientation
placeMultiple: Stay in placement mode
@@ -1182,6 +1362,27 @@ demo:
settingNotAvailable: Not available in the demo.
backendErrors:
ratelimit: You are performing your actions too frequent. Please wait a bit.
invalid-api-key: Failed to communicate with the backend, please try to update/restart the game (Invalid Api Key).
unauthorized: Failed to communicate with the backend, please try to update/restart the game (Unauthorized).
bad-token: Failed to communicate with the backend, please try to update/restart the game (Bad Token).
bad-id: Invalid puzzle identifier.
not-found: The given puzzle could not be found.
bad-category: The given category could not be found.
bad-short-key: The given short key is invalid.
profane-title: Your puzzle title contains profane words.
bad-title-too-many-spaces: Your puzzle title is too short.
bad-shape-key-in-emitter: A constant producer has an invalid item.
bad-shape-key-in-goal: A goal acceptor has an invalid item.
no-emitters: Your puzzle does not contain any constant producers.
no-goals: Your puzzle does not contain any goal acceptors.
short-key-already-taken: This short key is already taken, please use another one.
can-not-report-your-own-puzzle: You can not report your own puzzle.
bad-payload: The request contains invalid data.
bad-building-placement: Your puzzle contains invalid placed buildings.
timeout: The request timed out.
tips:
- The hub will accept any input, not just the current shape!
- Make sure your factories are modular - it will pay out!

1233
translations/base-he.yaml Normal file

File diff suppressed because it is too large Load Diff