gears: remove redundant gear_id()
This commit is contained in:
parent
42de0ed122
commit
d5275c13fd
2 changed files with 0 additions and 6 deletions
|
|
@ -2,8 +2,6 @@ class_name Ball extends "gear.gd"
|
||||||
|
|
||||||
func gear_name():
|
func gear_name():
|
||||||
return "Ball"
|
return "Ball"
|
||||||
func gear_id():
|
|
||||||
return 1
|
|
||||||
func continuous():
|
func continuous():
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,15 +13,11 @@ var pickup_basis = idle_basis
|
||||||
|
|
||||||
func gear_name():
|
func gear_name():
|
||||||
return "Gear"
|
return "Gear"
|
||||||
func gear_id():
|
|
||||||
return 0
|
|
||||||
func model_file():
|
func model_file():
|
||||||
return "hammer.glb"
|
return "hammer.glb"
|
||||||
func continuous():
|
func continuous():
|
||||||
return false
|
return false
|
||||||
|
|
||||||
# this can be redefined to make a custom
|
|
||||||
# gear mesh, e.g. a SphereMesh
|
|
||||||
func use(player):
|
func use(player):
|
||||||
basis = use_basis
|
basis = use_basis
|
||||||
$Timer.start()
|
$Timer.start()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue