update
This commit is contained in:
1 parent
189838a491
commit
d9e1f50d1e
3 files changed
+65
-6
No files matched your search
Executable
+56
@@ -0,0 +1,56 @@
|
||||
rm -r /home/jvj/wallpaper/
|
||||
mkdir /home/jvj/wallpaper
|
||||
|
||||
######################
|
||||
# #
|
||||
# Rarity #
|
||||
# #
|
||||
######################
|
||||
|
||||
nb_leg=1
|
||||
legendary=1
|
||||
nb_com=2
|
||||
commun=$(( ( 100 - $legendary * $nb_leg) / $nb_com ))
|
||||
|
||||
######################
|
||||
# #
|
||||
# Outer Wilds #
|
||||
# #
|
||||
######################
|
||||
|
||||
#you destroy the fabirc of spacetime
|
||||
|
||||
for i in $(seq $legendary)
|
||||
do
|
||||
if [[ $1 == "-d" ]];then
|
||||
echo "print OuterWilds - fabicdeleted : $i"
|
||||
fi
|
||||
cp /home/jvj/wallpaperperm/OuterWilds/fabicdeleted.jpg /home/jvj/wallpaper/fabicdeleted_$i.jpg
|
||||
done
|
||||
|
||||
#New space time
|
||||
for i in $(seq $commun)
|
||||
do
|
||||
if [[ $1 == "-d" ]];then
|
||||
echo "print OuterWilds - NewSpaceTime : $i"
|
||||
fi
|
||||
cp /home/jvj/wallpaperperm/OuterWilds/NewSpaceTime.png /home/jvj/wallpaper/NewSpaceTime_$i.png
|
||||
done
|
||||
|
||||
#Solar system
|
||||
for i in $(seq $commun)
|
||||
do
|
||||
if [[ $1 == "-d" ]];then
|
||||
echo "print OuterWilds - Solarsyi : $i"
|
||||
fi
|
||||
cp /home/jvj/wallpaperperm/OuterWilds/O_SolarSyi.jpg /home/jvj/wallpaper/O_SolarSyi_$i.jpg
|
||||
done
|
||||
|
||||
if [[ $1 == "-d" ]];then
|
||||
echo "—————————————————————————
|
||||
nombre de legendaire : $nb_leg
|
||||
Rareté legendaire : $legendary
|
||||
nombre de commun : $nb_com
|
||||
Rareté commun : $commun
|
||||
—————————————————————————"
|
||||
fi
|
||||
Reference in new issue
Block a user