claude godot 4 port

This commit is contained in:
2026-06-13 16:08:36 -04:00
parent aa1f470a7b
commit 1c1109fe93
227 changed files with 3112 additions and 2505 deletions
+6 -3
View File
@@ -1,6 +1,9 @@
@tool
extends TextureRect
tool
export(Constants.WEATHER) var weather = Constants.WEATHER.UNKNOWN setget set_weather
@export var weather: Constants.WEATHER = Constants.WEATHER.UNKNOWN:
set = set_weather
const images := {
Constants.WEATHER.CLOUDY: preload("res://assets/texture/weather_icons/weather3.png"),
Constants.WEATHER.FOGGY: preload("res://assets/texture/weather_icons/weather7.png"),
@@ -15,7 +18,7 @@ const images := {
func _ready():
set_weather(weather)
func set_weather(new:int):
func set_weather(new: int):
if !images.has(new):
new = Constants.WEATHER.UNKNOWN
weather = new