#Sanginir Tribe

1 messages · Page 7 of 1

obtuse orchid
versed whale
#

lemme check code

obtuse orchid
#

wait

#

only vampire

#

can transform

#

tf

versed whale
#

ok so

obtuse orchid
#

also i need to fix disembarking as soon as its on a land tile which really sucks cuz idk how to do that

versed whale
#

problem is

obtuse orchid
#

wait

#

leechsgn

#

thats what i need

#

lol

#

i fucked up the blacklist

#

lemme try with this adjustment

versed whale
#

the way polibrary does this unitAbilityBlack/Whitelist is that if ANY whitelist is active it always automatically denies everything else that is not in the whitelist

obtuse orchid
#

yeah so nvm

obtuse orchid
#

thats lowkey pretty stupid

#

ngl

versed whale
#

why

obtuse orchid
#

nvm

#

i cna just

#

can

#

add every single unit this tribe has

versed whale
#

bro why not just put like

obtuse orchid
#

wait so then i dont even need

#

the blacklist

#

i can just put all the whitelist

versed whale
#

wait

#

dude

#

you can also

#

put

#

"land", "water", "air", allat

#

in unitAbilityWhitelist

obtuse orchid
#

i understand it now

versed whale
#

bc every unit has at least one of those it defaults to true

obtuse orchid
versed whale
#

now it should work correctly

obtuse orchid
#

spoiler

#

it did

#

ok

#

i need to do disembark shenanigans now

#

i need to disable it until the un-transform ability is used

#

well i mean i got untransform done, i just need to stop it from automatically untransforming when moving over land now

versed whale
#

does DisembarkAction not exist?

#

can u check if i have dementia or not

#

it does

obtuse orchid
versed whale
#

huh?

obtuse orchid
#

but it does work

#

yippee yahoo

obtuse orchid
#

im guessing

versed whale
#

wdym deal with the terrain type

obtuse orchid
#

its something else

#

that

#

tells it to disembark

#

when it touches land

obtuse orchid
#

the issue is, its not in the disembark code

#

so i need to look for something

#

that does that

versed whale
#

no like instead of writing ur own disembark code u could just call disembarkAction to untransform the unit

#

way simpler and stabler

obtuse orchid
#

ok but i still need to find out how to make it not disembark whenever it moves on land

versed whale
#

yeah that could be a bit tricky

obtuse orchid
versed whale
#

pretty much

obtuse orchid
#

found it

versed whale
versed whale
obtuse orchid
#

yeah, i'd say so

#

but most of it is other things

versed whale
#

jesus

versed whale
obtuse orchid
#

i just need to change this
else if (!tile2.IsWater && unitData.IsVehicle())
{
gameState.ActionStack.Add(new DisembarkAction(base.PlayerId, worldCoordinates));
}

#

oh

#

nvm

#

rip

#

its over

#

im done

#

im cooked

obtuse orchid
obtuse orchid
versed whale
obtuse orchid
#

its over

#

im done

#

im cooked

versed whale
#

not .id

obtuse orchid
#

aha

#

it works

#

thank you

versed whale
#

and for the disembark on land shit

#

uhh

obtuse orchid
#

what would be a synonym for "untransform"

#

cuz i dont want to put transform

versed whale
obtuse orchid
versed whale
#

i think

obtuse orchid
#

lol

#

i doubt thatd even work

#

considering dnspy uses an outdated version

#

of polyotpia

versed whale
#

we could pull a classic fappy effect thing

obtuse orchid
#

effect where it cant disembark?

#

unless i manually do so?

versed whale
#

prefix the method, check for that exact case (if its not water and is carrier), add an effect to the unit, and prefix disembarkAction, check for that effect, and if it sees the effect it cancels the action

obtuse orchid
#

🧠

#

k

versed whale
#

OH and also check if its one of your units not boats cuz that could get akward

#

land bomber wha

obtuse orchid
obtuse orchid
obtuse orchid
obtuse orchid
#

the method

versed whale
#

which one

obtuse orchid
#

disembark action

#

wait no

#

theb uhh

#

moveaction

#

the one that triggers disembark action

versed whale
#

and what do you do once you check for batswarm or whatever

obtuse orchid
#

oh

#

i understand

#

wait

#

hmm

#

no

#

cuz if i can check for effect

#

why cant i just

#

check for unit type instead

versed whale
#

cuz then you couldnt disembark it no matter what

obtuse orchid
#

even if i manually do it with the ability?

versed whale
obtuse orchid
obtuse orchid
#

PolyMod.Loader.AddPatchDataType("unitEffect", typeof(EnumCache<UnitEffect>.GetType("nodisembarkbatswarmsgn")));

#

this is wrong

#

so i cant do effect

versed whale
obtuse orchid
#

dawg u gotta be specific im not a pro polyscripter

versed whale
#

like

#

anything

#

idk

#

i got no clue what midjiwan has planned

obtuse orchid
obtuse orchid
#

this is what wasd thought he was cooking when i asked him to be specific

#

how tf is unit effect less maintenance than checking for a specific unit type that i will not be changing

#

like dawg

#

if they change unit effect the mod will break

#

but if they change unit state and stuff, every mod will break

#

so

#

like

#

just checking for the unit type is better than just adding an effect and checking for it later

#

@tacit pasture yo bro so instead of adding a unit effect, why dont i just check the unit type, in order to make it ignore disembarking when being on land?

#

wasd thinks i need a unit effect because checking for unit type will make my code outdated, he doesnt know why or how or anything it just will

#

anyway

#

context is

#

i have a unit that another unit transforms into

#

but as soon as it moves on land, it switches back

#

so what i need

#

is to patch the MoveAction

#

to make it not disembark when its not on water

#

and i can do this by checking if its specifically the unit i want

#

but wasd thinks

#

i need to add a unit effect

#

and check for it

#

because checking for unit type is outdated for no reason

tacit pasture
#

Why not use polymod's embarksTo?

obtuse orchid
versed whale
#

that is literally what im saying

obtuse orchid
#

stop blatantly lying

tacit pasture
#

Polymod has built in embarking stuff

#

But idk how it works exactly

obtuse orchid
versed whale
#

im saying use polytopias embark-disembark system with polymods embarkTo

versed whale
#

i am

#

like

obtuse orchid
versed whale
#

i told u to use EmbarkAction and DisembarkAction

obtuse orchid
#

like deadass

obtuse orchid
#

and also

versed whale
obtuse orchid
#

ABOUT POLYMOD

#

I NATURALLY ASSUMED U MEANT THE METHOD

#

stfu

#

dont speak

versed whale
obtuse orchid
versed whale
obtuse orchid
versed whale
obtuse orchid
#

you said add an effect

#

and im not doing

#

all the effect shenanigans

versed whale
#

yes, adding an effect, while using polytopia disembark

obtuse orchid
#

like how tf does polymod embark disembark EVEN WORK

versed whale
#

you call embark

#

it embarks

#

u call disembark

#

it disembarks

obtuse orchid
versed whale
#

and moveaction, guess what, calls disembark, so u gotta patch that to not call it

versed whale
obtuse orchid
#

he said to use polymod embarkTo

#

you agreed

#

WÉKYejhewiorlhjgk;qwèeh3

versed whale
obtuse orchid
#

stop being a dumbass

#

if u said i needed EmbarkTo this whole time, well you DIDNT SAY THAT AT ALL

#

i cant even concieve how EmbarkTo would be useful

#

thats literally just when the unit steps on the port

#

what it turns into

#

esfesfafawfasd

#

fgsadf

#

asdg

#

asdg

#

sadg

#

asdg

#

sd

#

asdg

#

ads

obtuse orchid
#

i already have the embarkAction working

#

i have no need to touch that

#

or use polymod

#

or whatever you said i needed to use NOW but didnt say yesterday even though you're saying you were saying that the whole time

versed whale
obtuse orchid
#

is not the issue

#

you stupid cunt

versed whale
#

then what?

obtuse orchid
#

disembarking

#

when it touches land

#

ts is unrelated to embarkAction

#

its moveAction and disembarkAction

#

i just need to patch the moveAction

#

you havent been very helpful there though

versed whale
#

ok and i told you how to fix it but u ignored and insisted on either writing disembark action from scratch or checking unitData.Type which spoilers: wont work

tacit pasture
#

Guys im back

#

Holy walls of text

obtuse orchid
versed whale
#

youd know that if u tried dawg

obtuse orchid
tacit pasture
#

What is the discourse about, if I may inquire?

versed whale
obtuse orchid
#

embark and disembark work fine

#

except

#

heres the thing

#

it disembarks when its on land

#

i need ot pathc moveAction to fix this

#

i can check for unit type to prevent it from disembarking when on land

tacit pasture
#

Ok like what is the gameplay you are making

versed whale
tacit pasture
#

Where does it embark and disembark and what

versed whale
#

basically he has a manual imp that embarks a unit into a flying bat that has carry, and he has an imp to disembark

#

his problem is that when the unit moves on land, due to hardcoding in moveAction, it disembarks

#

what i told him to do was add an effect on prefix moveAction and check for it, then cancel in disembarkAction

obtuse orchid
#

with ability

#

improvement

tacit pasture
#

i mean a lazy option would be to kill the unit and train a new one on its place

obtuse orchid
#

how would i trainsform back

#

to the unit it was originally

#

if that were the case

#

i need a passengerunit

tacit pasture
#

hm

#

like

#

when does it transform back?

obtuse orchid
#

manual improvement

#

turns it back to normal

tacit pasture
#

so

#

like

tacit pasture
#

you have unit1, which can transform into unit2 with manual improvemnet, and unit2 that can transform into unit1 with manual improvement?

#

do unit1 and unit2 have same maxhp stats? smiling

obtuse orchid
tacit pasture
#

hm anyways, the noble way would be to use embarkaction somehow, but tbh i never once read its code or how it works

tacit pasture
#

I mean

obtuse orchid
tacit pasture
#

well that probably needs to be prefix disabled

#

i uh dont exactly know how polytopia works there

versed whale
tacit pasture
#

but i imagine in moveaction there is an if-gate when it steps on land and is embarked, and that does stuff

sour beacon
#

uh

versed whale
#

holy predict

sour beacon
#

wdym move action

#

u sure its move action and not command

versed whale
#

command, whatever, idk

sour beacon
#

yeah

obtuse orchid
versed whale
#

not my tribe bub

obtuse orchid
#

i saw it in moveaction

sour beacon
#

ok

obtuse orchid
#

i need to changr this

tacit pasture
#

well, you can see that it calls DisembarkAction

#

so if you prefix patch DisembarkAction.execute(default?) and check whether the unit on the tile is this specific unit, then return false (aka don't continue the method) otherwise return true. Ofc make it a bool patch

#

and i believe it would have no sideeffects whatsoever

obtuse orchid
#

k

tacit pasture
#

and also you can call that disembarkaction for the manual improvement

#

to call an action idk if you know this, but like you can use what is literally in the image:
gameState.ActionStack.Add(new Action(parameters))

obtuse orchid
obtuse orchid
#

hmmmmmm

#

how do i get a tile coordinates from only gameState cuz all the other times ive gotten coordinates, i had __instance but i dont have it here cuz its not in the parameters

versed whale
#

tileData.Coordinates?

#

does that exist?

obtuse orchid
#

it doesnt exist in the current context

versed whale
#

bud u have __instance

#

u just gotta make it

obtuse orchid
#

🤔

versed whale
#

add DisembarkAction __instance

#

to params

#

harmony will provide it for you

obtuse orchid
#

chat im cooked

versed whale
#

so no need to worry about crashes

obtuse orchid
#

ty

versed whale
#

or anything

obtuse orchid
#

peak coding

versed whale
#

yes

#

idk why its white not blue but ok ig

obtuse orchid
#

it turned to vengir

versed whale
#

__instance discovered the secrets of smithery

obtuse orchid
#

the underscores are blue

#

its just instance

#

btw

#

im thinking changing bat swarm mechanocs

#

mechanics

#

because currently

#

i made it so one tech path can turn it into a combat unit

#

i dont want this anymore

#

i want to change it to something else

versed whale
#

um

#

idk what you are talking about but i support you

obtuse orchid
#

cuz its just a transport unit

obtuse orchid
#

currently

#

units transform into "bat swarm"

#

which can attack

#

i mean ig it makes sense

#

but its original intent

#

was to be a transport unit

#

so this tribe can traverse water

#

but now

#

if its a combat unit

#

its just a bat

#

but better

#

and i dont like that

versed whale
#

ok

obtuse orchid
#

Cannot get result from void method void DisembarkAction::ExecuteDefault(GameState gameState)

versed whale
#

remove __result

#

cuz its void

#

so there is no result

#

and ur tryna get one

obtuse orchid
#

then how do i make it not work?

#

like

#

not disembark

versed whale
#

switch out

#

"void"

#

in your own method

#

to "bool"

karmic harbor
#

lmao

versed whale
#

and do return false;

karmic harbor
#

so skill issue

obtuse orchid
tacit pasture
#

mov out_of_this_thread, exploit

karmic harbor
#

image not reading official docs

versed whale
#

i mean we all gotta start somewhere

obtuse orchid
karmic harbor
#

so error

tacit pasture
#

rip :(

obtuse orchid
versed whale
karmic harbor
#

you cant move out_of_this_thread to exploit

karmic harbor
#

of programming

#

and like bro

#

AI exist

versed whale
karmic harbor
#

imagine bothering real ppl

versed whale
#

he aint bothering me

tacit pasture
obtuse orchid
versed whale
#

this is even relaxing next to fucking sprites.json

tacit pasture
#

so currently it returns false, but what if the if-gate does not execute

obtuse orchid
#

wait lemme remove result

karmic harbor
obtuse orchid
#

from parameters

karmic harbor
#

bro

#

WHAT THE FUCK

versed whale
#

i mean

#

it works ig

obtuse orchid
versed whale
#

could be nicer

#

but its really not an issue

karmic harbor
#

return unit.type != EnumCache....

obtuse orchid
karmic harbor
#

0 knowlage bout polytopia

obtuse orchid
#

then why should i ask it

tacit pasture
#

he prob meant generic ai

karmic harbor
#

yes

#

kinda

tacit pasture
#

but like ai == bad so ask humans

obtuse orchid
#

chat is exploit locked in

karmic harbor
#

ai != bad
ai is bad

#

but like

#

OKAY

#

WAIT OKAY

#

google exist

#

lets google it

obtuse orchid
#

fapingvin also exist

tacit pasture
#

faipingvin

karmic harbor
obtuse orchid
karmic harbor
#

you are

#

TOO STUPID

#

like 0 iq

obtuse orchid
#

@sour beacon keep your dog on a leash please

karmic harbor
#

you can even CLICK the error

obtuse orchid
karmic harbor
#

and

karmic harbor
#

bro you cant click error

#

in the fucking UI editor

obtuse orchid
tacit pasture
#

yall

#

stop

obtuse orchid
#

AHA IT WORKS

karmic harbor
#

it checks method in compile time

tacit pasture
#

nameof(Class.Method)

#

instead of "methodname"

obtuse orchid
#

houston we have a problem, disembark doesnt work anymore with the ability

#

it turns out

#

i SHOULDVE KEPT MY OWN CODE HMMMM

#

instead of using stupid

#

disembarkaction

#

thing

versed whale
#

no u should have done what i suggested you do

#

and use

#

effects

obtuse orchid
obtuse orchid
#

how should those fix

#

like

#

literally anything

karmic harbor
#

not knowing is ok

versed whale
#

if you would be so kind to

#

listen

#

then i would tell you

#

so

obtuse orchid
#

i am listening 👂

karmic harbor
#

not being able to find and apply information is funny

versed whale
#

basically

obtuse orchid
versed whale
#

what you'd need to do

#

is

#

1: make an effect in gld, u can copy code from Polibrary.Main, that 100% works

#

2: prefix patch moveAction, check if its your fancy unit, and if it is, check if its moving on land. if those are all true we give our unit the custom effect

karmic harbor
#

not even contradiction

versed whale
#

3: prefix disembark the same way, only we check for the effect, not unit type, and if we see the effect we remove it and cancel the disembark!

obtuse orchid
# karmic harbor

#1362225960585400450 message < blatant insult right here
#1362225960585400450 message oh my here too
holy shit 3 times #1362225960585400450 message

#

seems like you are 33

#

33%

#

of my skill at arguing

#

😎

karmic harbor
#

facts

#

just screenshot from dictionaryy

obtuse orchid
#

its not an isult

#

insult*

#

its a fact

karmic harbor
obtuse orchid
karmic harbor
#

subjective

obtuse orchid
#

image1 == image2

karmic harbor
#

subjective

versed whale
#

btw where is that photo taken?

obtuse orchid
#

but it could be

versed whale
#

oh ye theres an organ

obtuse orchid
#

some other fancy institution

karmic harbor
#

St. Petersburg Academic Philharmonia

tacit pasture
#

Exploit is like good at music

obtuse orchid
karmic harbor
obtuse orchid
#

real

karmic harbor
#

my friends are better than me

#

some of my friends

obtuse orchid
#

how far can u see without ur glasses

tacit pasture
#

Easy if your friends are musicians

versed whale
#

stop lying

obtuse orchid
#

why are yall supporting the villain darkside

karmic harbor
obtuse orchid
#

he is cruel

#

he is vile

versed whale
#

what villain

karmic harbor
#

text?

obtuse orchid
#

yet thou praise him

karmic harbor
#

or what

#

idk i have -3

tacit pasture
#

That's not that bad

versed whale
#

thats not that bad

#

lmao

tacit pasture
#

Lmao

versed whale
#

great minds think alike

obtuse orchid
versed whale
#

hungary hivemind

tacit pasture
#

I inherited like -7 💀

karmic harbor
versed whale
#

0 babyyy

karmic harbor
# versed whale stop lying

Were going to play Tchaikovsky's first piano concerto for graduation (just for fun) and our soloist learnt 10 minutes of this hell in like 2 months scull

obtuse orchid
#

he's locked in

tacit pasture
#

Lol I wanted to say a shorter time than original but this works too

obtuse orchid
#

so i did yalls dumb strats of calling for disembark action

#

it made untransform not work

#

so i replaced it with my old code

#

boom it works

#

we have functional rituals where polytopians can transform into bats

tacit pasture
#

what is your current code?

obtuse orchid
#

wait

#

so

#

i know what to do

#

i can replace the bat swarm attack abilities

#

with switching already moved/alreayd attacked

#

so i can make transform make units able to attack instantly after using it

#

is this pro

#

i was thinking

#

maybe replace bat swarm with something else

#

cuz its not really a swarm anymore

#

i was thinking "bat form"

obtuse orchid
#

i got a wacky idea for "eternal swarm" t3 tech

#

all units are permanently in Bat Form, but retain their old stats

versed whale
obtuse orchid
#

WHY WOUldnt it work

versed whale
#

it would

#

until they change carrier code or sum

#

idk

#

feels shitty

obtuse orchid
versed whale
#

cuz its ass mayhaps idk

obtuse orchid
#

and if they do i can just fix this mod?

obtuse orchid
#

and if they did change it

#

it would be for the better

#

so easier for me

versed whale
obtuse orchid
#

why should i trouble myself now

#

when i can trouble future me who will have more experience

versed whale
#

you could also build experience and skill now tbh

#

cuz this is easy to copy and paste but not everything is like this

obtuse orchid
#

not do ideas i know to be so complicated that i cant learn from other code

versed whale
#

bro ts aint that complicated

obtuse orchid
#

im not going to change functional code for something we dont even know is going to happen in a meaningful amount of time

obtuse orchid
#

i think all i need left

#

is

#

-1 movement on water for bat/bat form (easy)
extended wingspan ability: bats and bat form units gain +1 movement if no enemy is adjacent (medium)
eternal night: bat form protects units inside from taking damage when they take damage
savagery: after un-transforming from bat form, units can move and attack instantly (easy)
vampiric aura: units adjacent to vampire gain leech if they dont have it already (hard)
vampire castle connecting to capital from anywhere (hard)
fanatic spawning bat on kill (medium-hard)

monuments (medium)
unit sprites (hard)

obtuse orchid
#

ok im going to get the easy things done first

obtuse orchid
#

i just cooked

#

now bats should get -1 movement on water and ocean

#

and also

versed whale
#

w

obtuse orchid
#

bats if the tech is unlocked should get +1 movement if no enemies are adjacent

obtuse orchid
#

yoooo

versed whale
#

bro i approve all the time

#

bud i am not exploit smiling

obtuse orchid
#

i forgot movement wasnt like that lmao

versed whale
#

poor bat

obtuse orchid
#

i got the tech that gives more movement, it cancels out now!

#

hehehe i moved it on land

#

ok so the neighbours thing doesnt quite work

tacit pasture
#

I think you should replace the || with && in the flag

obtuse orchid
#

also

#

rn

#

its checking if there is a unit there, it will only activate if its mine

#

wait

#

i know what i need to do

#

ok this is better

obtuse orchid
#

here it checks if there is a unit there

#

wait i need an "else" for the result

obtuse orchid
#

wait

#

no i know what i need

#

how does "break" work

#

does it stop the loop

#

this could work i think

#

cuz if my theory is right

#

if it detecs a single unit that isnt mine

#

it stops

#

if it detects no units, or no units that are mine anyway, it will add

#

i broke movement

#

hmmm

#

k i got a solution

#

it increases movement speed by 1 by default

#

except when theres an enemy unit adjacent

#

then it doesnt

#

it didnt work

obtuse orchid
#

i got it working yippee yahoo

#

(i was checking if the unit owner wasnt null, and that makes no sense)

obtuse orchid
#

3/9

#

33% done in one day yep lets go

#

i think i can get fanatic bat training done too

#

then i can do some sprites

#

:D

#

this tribe is gonna be so peak

#

hmmm

#

the "frenzy" ability isnt working how i want it to

#

so

#

what i want is

#

when a unit kills another unit, it gains the speedy effect

#

this normally works cuz when the unit retaliates, it removes the speedy effect

#

however

#

against stiff units

#

bats always gain the speedy effect

#

wait i can check if the unit has the stiff ability

#

wait but then if it kills a stiff unit

#

then it wont get it

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#

easy solution

#

its a feature that bat gains movement whenever it damages a stiff unit even if it doesnt kill it

karmic harbor
#
  1. spagetti control flow (rollback of value)
  2. magic values
  3. GetType every call scull
#

so crappy

versed whale
#

bro its gives 1 movement when no unit is nearby bud ts aint this serious

obtuse orchid
#

real

#

bro thinks im making the code for the next space exploration robot

tacit pasture
#

It's a mod noone gaf

#

But there is an argument to be made

#

That exercising proper coding helps improve mind. I say do whatever you want lmao

obtuse orchid
#

idk what vector even means and idk how or why to replace my current ways

tacit pasture
#

Magic values is like when you use numbers without explanation and also like repeating it.

So like:

int getYPosition = {
     return currentpos*0.9
}

You dont know what 0.9 is but if you define a const like gravity, and use that it is clearer. Also if you use 0.9 everywhere, and want to change it, changing a constant is easier

#

Yes my example is very very wrong

#

But im on a train rn

obtuse orchid
#

he thinks i should have a "movementchange" variable and use that instead of +- 1 skull2 ???

versed whale
#

but for a small project like this its just style points

obtuse orchid
#

hi

#

should i work on this tribe today

tacit pasture
#

Why not

obtuse orchid
#

its only hard stuff left that idk how i should do

#

except today i got a revelation on bat kill

#

so that should be ez

#

yeah no the revelation was false

#

its a lot more complex than i first anticipated

versed whale
#

can u like

#

share

#

or idk

obtuse orchid
#

well its not the code thats the issue its that idk really what im meant to do

#

you see

#

i need to spawn the bat when the unit is killed

#

however

#

if i use the killaction

#

then

#

i cant get the one that killed it

versed whale
#

thats seems

#

complicated as hell

#

or idk

obtuse orchid
#

true

#

everything left is comploicated

#

i have no clue how to do it

versed whale
#

also

#

why spawn a bat on kill

#

thats so random

obtuse orchid
#

thats what the fanatic does

#

its the fanatic's whole thing

versed whale
#

oh

#

its a unit

#

like

#

a fix unit

obtuse orchid
#

its a ranged unit that when it kills a unit

#

it spawns a bat in the place of the unit it just killed

versed whale
#

ok

#

that changes things

#

so like

#

you can just like copy the kill check from attackAction and insert a trainUnitAction to 0 i suppose

obtuse orchid
#

ah

#

ok

versed whale
#

lot of gibberish i wont explain, ask fap idk

obtuse orchid
#

wait actually why dont i just

#

copy old bat spawner code

#

yeah so it didnt work

#

it also broke the bat form not transforming when it touched land

versed whale
#

this is why you never celebrate early

obtuse orchid
#

this is why i never do hard polyscript as a beginner

karmic harbor
obtuse orchid
#

you were always like

#

you should polyscript bananique cuz you are dumb if you dont or something

#

and now that i am

#

you are like

#

you are dumb because i expect you to be like fapingvin but you arent and why havent you learned everything there is to know in one week lmaooo

karmic harbor
obtuse orchid
#

also

#

its literally JUST ME that you act this way to

#

so

#

its not that

#

stop making excuses

karmic harbor
#

you just dont have access

obtuse orchid
#

with fapingvin and wasd

#

you are innocence

#

with me

#

you are grrr

karmic harbor
#

to other chats

obtuse orchid
karmic harbor
#

use git to get gud

#

im trying to learn to draw rn

#

in inkscape

obtuse orchid
#

i want to bully you

#

so show your "art"

karmic harbor
#

noonno

obtuse orchid
#

actually

karmic harbor
#

i will not

obtuse orchid
#

:)

#

im going to be the kinder person

#

im not going to fall to your level

#

mwahahahahah

karmic harbor
obtuse orchid
karmic harbor
#

cuz i want to make a tribe obv

obtuse orchid
#

i thought

#

u didnt like polytopia

#

and didnt care about it

tacit pasture
#

Getting bullied by exploit is a canon event

#

You can't escape it smiling

obtuse orchid
#

that would be the mega revenge

karmic harbor
obtuse orchid
#

so

#

if i get 333% good at polyscript

#

i can do all code 😎

tacit pasture
#

Wrong it is 90% party, 10% party roadmogging

obtuse orchid
#

bro

#

these gifs all suck

#

tf

tacit pasture
#

Discord changed gifs

#

I mean

#

They didn't have a choice

obtuse orchid
#

aha a good one

#

thats literally me btw

#

🧠

#

both of them combined

#

could not hope to match

#

my skill

#

at making dysfunctional code

tacit pasture
#

I mean true

#

Cause they mainly lived before computers

obtuse orchid
#

real

#

did you know that cleopatra never said thank you

#

to anyone

#

ever

#

in history

#

because she didnt speak english

tacit pasture
#

Brutal woman

hasty zephyr
#

🤯

#

Nah there’s a non 0 chance that she made a noise that sounded like “thank you”

versed whale
#

show progress i wanna see

karmic harbor
#

no

#

only finished and polished

versed whale
#

valid

sour beacon
versed whale
karmic harbor
obtuse orchid
karmic harbor
obtuse orchid
#

no?

#

are you sure?

versed whale
obtuse orchid
#

yes.

#

@karmic harbor you SUCK! 😂 LMAO

tacit pasture
#

Oh how the tables have turned

obtuse orchid
obtuse orchid
#

ok i want to cook up some sanginir today

#

except

#

idk how to do whatever's left

obtuse orchid
#

k so im not doing permanent bat form

#

so i need to think of something else

#

what would make bat form feel eternal

tacit pasture
#

What is left to do

#

And you don't know how to start

obtuse orchid
#

anything not crossed out, that is on the top part

#

actually maybe vampiric aura i can do

#

i can attempt

tacit pasture
#

ye

obtuse orchid
#

on my own

tacit pasture
#

i told you

obtuse orchid
#

i just dont know how to add

tacit pasture
#

which method to patch

obtuse orchid
#

the unit abikity to unitdata

tacit pasture
#

no i mean you dont have to

obtuse orchid
#

wait.

#

i know what i can do

#

in the leech code

#

i can check

#

for tile neighbours

#

and to check if one is vampire

#

and if the tech is researched

#

and the unit doesnt have leech

#

it gets leech

#

or wait

tacit pasture
#

there are two methods by the name of HasAbility() that returns whether the unit has a certain ability or not. If you're lucky, the one with the unitstate parameter is still working, and if the neighbor is vampire or anything, you manually return true

#

*set the __result to true I mean by returning true

obtuse orchid
#

kaboom

#

ez

#

then i can just check for vampiric aura in the leech checking if the unit has leech ability

#

this is pro

#

k so i got an idea for eternal night

#

when the bat form takes damage

#

and untransforms

#

the original unit will have the original hp

versed whale
#

why not make the bat form drop the unit when killed

obtuse orchid
#

do you kmow what bat form even is

#

they arent being carried by bats

#

they turn into the bats

#

so if the bat dies

#

they die too

versed whale
#

ye but when they die they turn back

#

thats what im tryna say

obtuse orchid
#

if u are dead u cant turn back

#

@tacit pasture should i make fanatic still spawn bat on kill? cuz it doesnt really work rn

tacit pasture
#

maybe

obtuse orchid
tacit pasture
#

uh idk if this is the best implementation btw

#

idk

obtuse orchid
#

idk how to do better tho

#

keep in mind this is my first actually serious polyscript project with more than 2 patches

#

even tho 75% of the features are split among 2 patches here lol

tacit pasture
#

uh idk let me think

obtuse orchid
#

so where the 0 is

#

would be unitData

tacit pasture
#

what

#

0 is price

obtuse orchid
#

tf

tacit pasture
#

didnt want it to deduce any stars

#

for spawning

obtuse orchid
#

ohhhh

#

thats cuz

#

i know why

tacit pasture
#

cuz its free yes

obtuse orchid
#

bat ransform hing

#

uses actionUtils.trainunit

#

this one is trainaction

tacit pasture
#

also the spawned unit should be independent

obtuse orchid
#

is actionutils better for this?

#

actionutils trainunit

#

instead of trainaction

obtuse orchid
tacit pasture
#

i mean

#

actionutils.tranunit and trainaction

#

they are pretty much the same

obtuse orchid
#

ah

#

so

tacit pasture
#

trainaction is safer

#

but

#

actionutils.trainunit returns the unit that was trained

#

which is pretty handy

#

cause then you can instantly modify it

obtuse orchid
tacit pasture
#

and with trainaction, you cant really

#

i mean you dont know when the action will be executed

#

i mean you can know cause it gets added to top of stack and lifo, but like actionutils one is better for that

#

but if you dont need to modify unit

#

just use trainaction

obtuse orchid
#

ye

obtuse orchid
#

teehee vampiric aura works

#

time to population farm with archers

#

hey fapingvin

#

im thinking

#

since catapults are a thing

#

i dont like it

#

so what should i replace catapults with?

#

im thinking an ability

tacit pasture
#

trebuchets

obtuse orchid
#

what math would vampires do

obtuse orchid
#

cuz the problem is

#

catapults can enter bat form

#

and good luck turning a war machine into a bat

tacit pasture
#

well make them exempt

obtuse orchid
#

that would make them unable to traverse water

#

bro i can farm population with hunger and vampiric aura

#

ig u could say

#

thats aura pffft

#

my warrior healing after killing a unit pffft

#

lmao my fanatic too

#

vampires are too fun

#

this tribe is aweosme!!!!

#

i cant wait for release

#

or should i release it?

#

🤔

#

yousee

#

what if

#

nvmè

#

oh

#

what

#

so if units with leech are attacked

#

they will trigger leech in retaliation

#

thats awesome im keeping it

#

@tacit pasture is implementing graphics from polyscript easy

tacit pasture
#

wdym

obtuse orchid
#

cuz im thinking if i research vampiric aura

tacit pasture
#

by that

obtuse orchid
#

i give my vampire

#

a red glow on the tile he is on

tacit pasture
#

make the tint red?

#

i mean the outline

obtuse orchid
#

actually thats a good idea but no

#

like the tile its standing on

#

glows red

tacit pasture
#

uh

#

doable but difficult i think

obtuse orchid
#

oh

#

nvmthen

tacit pasture
#

idk

obtuse orchid
#

ok so if leech works in retaliation, medium ai is simply unable to do any damage to you

#

and ur units just get infinite hp

#

and ur cities get infinite pop

tacit pasture
#

btw can the ai use this tribe?

obtuse orchid
#

this defence literally works

obtuse orchid
tacit pasture
#

what are the golden units?

obtuse orchid
#

from frenzy

tacit pasture
#

also vampire castle sprite was made by rastrapies are gonna use those?

obtuse orchid
#

(when leech unit kills a unit, they gain speed)