Welcome to the new Diaspora forums, please let us know if you see anything broken! Notice: Some users may need to reupload their avatars due to an issue during forum setup!
Ship Classification E2
NinjrKillr
Registered Posts: 175
Simple E2 to tell you what classification your ship holds, with its current health. This uses the list posted by Brandon on some part of the forums.
To use, simply paste on a cored ship (if you don't, it'll punish you with high ops), and look at the overlay. It'll give you a classification, the range of health that classification falls within, as well as your current health, nicely shortened (E.g: "1.45 Mill")
To use, simply paste on a cored ship (if you don't, it'll punish you with high ops), and look at the overlay. It'll give you a classification, the range of health that classification falls within, as well as your current health, nicely shortened (E.g: "1.45 Mill")
# This E2 was written by NinjrKillr, and has been placed into the public # domain for free use. Any modifications are allowed, but credit must # remain with NinjrKillr for the original E2. This E2 is allowed to be # shared at will, provided this header remains intact. @name Ship Classification @inputs @outputs Class:string @persist Core:entity Classification:string @trigger function string shortHandNumber(FNumber) { Out = "" if(FNumber < 1000){Out = toString(FNumber)} else { if(FNumber < 1000000){Out = round(FNumber / 1000,1) + "K"} elseif(FNumber < 1000000000){Out = round(FNumber / 1000000,2) + " Mill"} else {Out = round(FNumber / 1000000000,2) + "Bill"} } return Out } interval(2500) if(dupefinished()){exit()} elseif(first()) { setName("Ship Classification\nBooting") Core = entity():isWeldedTo():getCoreEnt() timer("Recheck for Core", 2000) } elseif(clk("Recheck for Core")) { Core = entity():isWeldedTo():getCoreEnt() } if(Core != noentity()) { Shield = Core:getShieldMax() Armor = Core:getArmorMax() Hull = Core:getHullMax() T = Shield + Armor + Hull if(T<100000){Classification="Fighter / Bomber / Interceptor\n0 - 100k HP"} elseif(T<150000){Classification="Heavy - Fighter / Bomber / Interceptor\n100 - 150k HP"} elseif(T<175000){Classification="Corvette\n150 - 175k HP"} elseif(T<250000){Classification="Frigate\n175 - 250k HP"} elseif(T<275000){Classification="Heavy Frigate\n250 - 275k HP"} elseif(T<400000){Classification="Destroyer\n275 - 400k HP"} elseif(T<800000){Classification="Cruiser\n400 - 800k HP"} elseif(T<1000000){Classification="Battle-Cruiser\n800k - 1 million HP"} elseif(T<1400000){Classification="Battleship\n1 - 1.4 mill HP"} elseif(T<2500000){Classification="Dreadnaught\n1.4 - 2.5 mill HP"} elseif(T<6000000){Classification="Super Battleship\n2.5 - 6 mill HP"} elseif(T<10000000){Classification="Class 1 Leviathon\n6 - 10 mill HP"} elseif(T<14000000){Classification="Class 2 Leviathon\n10 - 14 mill HP"} elseif(T<18000000){Classification="Class 3 Leviathon\n14 - 18 mill HP"} elseif(T<26000000){Classification="Class 1 Titan\n18 - 26 mill HP"} elseif(T<34000000){Classification="Class 2 Titan\n26 - 42 mill HP"} elseif(T<50000000){Classification="Battle-Barge\n34 - 50 mill HP"} elseif(T<60000000){Classification="Super Dreadnaught\n50 - 60 mill HP"} elseif(T<75000000){Classification="Leviathon Destroyer\n60 - 75 mill HP"} elseif(T<100000000){Classification="Mega Titan\n75 - 100 mill HP"} elseif(T<125000000){Classification="Super Leviathon\n100 - 125 mill HP"} elseif(T<150000000){Classification="Titan Destroyer\n 125 - 150 mill HP"} elseif(T<250000000){Classification="Eversor Regalis\n150 - 250 mill HP"} else{Classification="HOLY FUCKING JESUS"} Class = Classification:explode("\n")[1,string] setName("Ship Classification\n" + Classification + "\n("+shortHandNumber(T)+")") } else { timer("Recheck for Core",1000) }
"We fear that which we cannot see... we respect that which we cannot see... thus the blade will be wielded."
Comments
"I want you to show this world what it means to fear the sky."
consideration of other players award
"I want you to show this world what it means to fear the sky."
And ty, *hangs award on wall*
Then again, your also the only person I've seen care about muting gens so much. XD
I hate that shit too. The fusion reactors aren't so bad, but the ones with loud-as-fuck motors are really annoying when there's 5 of them running.
Besides, chat-spam / sound-spam, both, are very irritiating. Sure thing people may need to post random stuff into chat, but if they can avoid it, they should.
I'd like to point out that more than 1-2 people have it, lol, as I see it being used 'most every day.
Muting stuff is how it should be done. If I can't have the developers remove (or change) the sound, then I'll have to teach people how to mute stuff, won't I?
WHRRRRRRRRRRRRRRR brrrw WHRRRRRRRRRRRRRRRRRRRRRRR brrw WHRRRRRRRRRRRRRRRRRRRRRR
"I want you to show this world what it means to fear the sky."
WHRRRRRRRRRRR brrw KANZUKE'S SHIP HAS A LOT OF HEALTH WHRRRRRRRRRRR KANZUKE'S SHIP HAS A LOT OF HEALTH brrw WHRRRRRR KANZUKE'S SHIP HAS A LOT OF HEALTH RRRRRRRRR
"I want you to show this world what it means to fear the sky."
Or, instead of making everyone tailor to your needs, you can simply mute your gens.
(And Admirals, but they're basically just Mods anyway)
There might actually still be that E2 function that does it..... but I'm not sure. Kanzuke, could you use this E2 instead of your version unless someone else specifically asks to know your classification?