Stil wählen, merken und fotografieren
F2 wechselt im Spiel den Stil und meldet ihn, --style=NAME wählt ihn beim Start, und das Spiel merkt sich die Wahl in den Einstellungen. Das Bildschirmfoto-Werkzeug nimmt Bilder in einem bestimmten Stil und von der Vitrine auf und zeigt eine zweite Figur mit Namen. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -146,6 +146,15 @@ func set_last_address(address: String) -> void:
|
||||
_set_setting("network", "address", address)
|
||||
|
||||
|
||||
## The key of the style the player chose last time, or an empty text.
|
||||
func style() -> String:
|
||||
return _setting("display", "style")
|
||||
|
||||
|
||||
func set_style(key: String) -> void:
|
||||
_set_setting("display", "style", key)
|
||||
|
||||
|
||||
func _setting(section: String, key: String) -> String:
|
||||
var settings := _read_settings(base_dir.path_join(SETTINGS_FILE))
|
||||
if settings == null:
|
||||
|
||||
Reference in New Issue
Block a user