built more assets and started playing with foliage painting

This commit is contained in:
derek
2024-12-04 17:02:46 -06:00
parent dd960cc00e
commit 478e2822d2
359 changed files with 34172 additions and 178 deletions

View File

@@ -0,0 +1,25 @@
@tool
#-------------------------------------------------------------------------------
# A list of default variables
#-------------------------------------------------------------------------------
const Toolshed = preload("../toolshed/toolshed.gd")
const Toolshed_Brush = preload("../toolshed/toolshed_brush.gd")
# A default Toolshed
# TODO: this belongs in toolshed.gd, but for now calling new() from a static function isn't possible
# This seems to be the most recent pull request, but it's almost a year old and still isn't merged yet...
# https://github.com/godotengine/godot/pull/54457
static func DEFAULT_TOOLSHED():
return Toolshed.new([
Toolshed_Brush.new(Toolshed_Brush.BrushType.PAINT, 1.0, 10.0),
Toolshed_Brush.new(Toolshed_Brush.BrushType.ERASE, 1.0, 10.0, 100.0),
Toolshed_Brush.new(Toolshed_Brush.BrushType.SINGLE, 1.0, 1.0),
Toolshed_Brush.new(Toolshed_Brush.BrushType.REAPPLY, 1.0, 10.0, 100.0)
])