mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Borgo sprite selection animation update. (#8636)
* Colored Robots! The Treadmate and Landmate series + A couple of recolored Basic sprites. * Create RecoloredLandmate.yml * Update robot_modules.dm * Update RecoloredLandmate.yml * Update html/changelogs/RecoloredLandmate.yml Done on request by Arrow Co-Authored-By: Werner <Arrow768@users.noreply.github.com> * Update aurorastation.dme * The SD-MAD (Neat little hoverbots) * Fren sprite updates by request. * TC-Drone Bugfix * Just readding something that was lost eons ago. * Changelog for the bugfix. * Maint. Drone overlay fixes. * Update RecoloredLandmate.yml * The dottening * Initial PR for the icon animation. * Updated for this PR. I wish it were easier to change the changelogs' name. * Fixed the " Forgot a " 👀 * Changelog Update * Deleting the changelog * I was distracted by Opossums * Removing this weird overmap thing Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -318,6 +318,8 @@
|
||||
return
|
||||
|
||||
var/module_type = robot_modules[mod_type]
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, TRUE)
|
||||
spark(get_turf(src), 5, alldirs)
|
||||
new module_type(src)
|
||||
|
||||
hands.icon_state = lowertext(mod_type)
|
||||
@@ -1079,7 +1081,7 @@
|
||||
return
|
||||
|
||||
if(icon_selection_tries == -1)
|
||||
icon_selection_tries = module_sprites.len+1
|
||||
icon_selection_tries = round(module_sprites.len*0.5)
|
||||
|
||||
|
||||
if(length(module_sprites) == 1 || !client)
|
||||
@@ -1089,6 +1091,8 @@
|
||||
return
|
||||
else
|
||||
icontype = input(src, "Select an icon! [icon_selection_tries ? "You have [icon_selection_tries] more chance\s." : "This is your last try."]", "Icon Selection") in module_sprites
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, TRUE)
|
||||
spark(get_turf(src), 5, alldirs)
|
||||
icon_state = module_sprites[icontype]
|
||||
updateicon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user